Jaypore CI

> Jaypore CI: Minimal, Offline, Local CI system.
Log | Files | Refs | README

commit 6461ad8386093de2391365ed712b4593126813d6
parent aa2e3da01b29497c58d78376b559a2f730ec8c56
Author: arjoonn <arjoonn@noreply.localhost>
Date:   Mon, 13 Mar 2023 19:15:59 +0000

docfix (!61)

Branch auto created by JayporeCI

```jayporeci
╔ 🔴 : JayporeCI       [sha 4c73561008]
┏━ build-and-test
┃
┃ 🟢 : JciEnv          [b328cbbf]   0:11
┃ 🟢 : Jci             [48020d6e]   0:17            ❮-- ['JciEnv']
┃ 🟢 : black           [8eb96f48]   0: 0            ❮-- ['JciEnv']
┃ 🟢 : install-test    [1296b917]   0: 0            ❮-- ['JciEnv']
┃ 🟢 : pylint          [79c83d44]   0: 8            ❮-- ['JciEnv']
┃ 🟢 : pytest          [b52fc240]   0:24 Cov: 91%   ❮-- ['JciEnv']
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Publish
┃
┃ 🟢 : DockerHubJci    [d6274ed5]   0:45
┃ 🟢 : DockerHubJcienv [c6d2318e]   0:41
┃ 🟢 : PublishDocs     [31fe0d18]   0:37
┃ 🔴 : PublishPypi     [6166b004]   0: 4 v0.2.23
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
```

Co-authored-by: demo <demo@example.com>
Reviewed-on: https://gitea.midpathsoftware.com/midpath/jaypore_ci/pulls/61

Diffstat:
Mcicd/cicd.py | 3++-
Mdocs/source/index.rst | 10+++++-----
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/cicd/cicd.py b/cicd/cicd.py @@ -46,6 +46,7 @@ with jci.Pipeline() as p: p.job("DockerHubJcienv", "bash cicd/build_and_push_docker.sh jcienv") p.job("DockerHubJci", "bash cicd/build_and_push_docker.sh jci") p.job( - "PublishDocs", f"bash cicd/build_and_publish_docs.sh {p.remote.branch}" + "PublishDocs", + f"bash cicd/build_and_publish_docs.sh {p.remote.branch}", ) p.job("PublishPypi", "bash cicd/build_and_push_pypi.sh") diff --git a/docs/source/index.rst b/docs/source/index.rst @@ -160,12 +160,12 @@ Pipeline config Secrets and environment variables ********************************* -1. JayporeCI uses [SOPS](https://github.com/mozilla/sops) to manage environment variables and secrets. - - We add `secrets/<env_name>.enc` to store secrets. - - We add `secrets/<env_name>.key` to decrypt corresponding secret files. This is an [AGE](https://github.com/FiloSottile/age) key file. **Do NOT commit this to git!**. JayporeCI automatically adds a gitignore to ignore key files. - - We also add `secrets/bin/edit_env.sh` and `secrets/bin/set_env.sh` to help you manage your secrets easily. +1. JayporeCI uses `SOPS <https://github.com/mozilla/sops>`_ to manage environment variables and secrets. + - We add `secrets/<env_name>.enc` to store secrets. + - We add `secrets/<env_name>.key` to decrypt corresponding secret files. This is an `AGE <https://github.com/FiloSottile/age>`_ key file. **Do NOT commit this to git!**. JayporeCI automatically adds a gitignore to ignore key files. + - We also add `secrets/bin/edit_env.sh` and `secrets/bin/set_env.sh` to help you manage your secrets easily. 2. It is a good idea to have separate secret files for each developer, each environment respectively. - - For example, JayporeCI itself only has a single secret file called `ci`. + - For example, JayporeCI itself only has a single secret file called `ci`. How to