ci: fall back to admin password for web access
This commit is contained in:
1 parent
1eac71def4
commit
3aff50b8ac
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ deploy:
|
|||||||
- test -n "$BELKI_DATABASE_URL"
|
- test -n "$BELKI_DATABASE_URL"
|
||||||
- test -n "$POSTGRES_PASSWORD"
|
- test -n "$POSTGRES_PASSWORD"
|
||||||
- test -n "$BELKI_ADMIN_PASSWORD"
|
- test -n "$BELKI_ADMIN_PASSWORD"
|
||||||
- test -n "$BELKI_WEB_PASSWORD"
|
- export BELKI_WEB_PASSWORD="${BELKI_WEB_PASSWORD:-$BELKI_ADMIN_PASSWORD}"
|
||||||
- mkdir -p "$CI_PROJECT_DIR/.kube"
|
- mkdir -p "$CI_PROJECT_DIR/.kube"
|
||||||
- printf '%s' "$KUBE_CONFIG_B64" | base64 -d > "$CI_PROJECT_DIR/.kube/config"
|
- printf '%s' "$KUBE_CONFIG_B64" | base64 -d > "$CI_PROJECT_DIR/.kube/config"
|
||||||
- export KUBECONFIG="$CI_PROJECT_DIR/.kube/config"
|
- export KUBECONFIG="$CI_PROJECT_DIR/.kube/config"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
- The job targets GitLab runner tag `fast` and builds through a privileged `docker:29.6.1-dind` service at `DOCKER_HOST=tcp://docker:2375`, with an explicit `alias: docker` and `DOCKER_TLS_CERTDIR=""`.
|
- The job targets GitLab runner tag `fast` and builds through a privileged `docker:29.6.1-dind` service at `DOCKER_HOST=tcp://docker:2375`, with an explicit `alias: docker` and `DOCKER_TLS_CERTDIR=""`.
|
||||||
- Runtime dependency layers are prebuilt and stored in the private registry: `reg.nyan404.ru/cwshed-clone/belki-base:py312-d375af9a0f80` contains Python 3.12 plus the current `requirements.txt`; `reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc` contains Nginx plus `nginx.conf`. Rebuild and retag the matching base image whenever its source file changes; ordinary CI builds only copy application or static files.
|
- Runtime dependency layers are prebuilt and stored in the private registry: `reg.nyan404.ru/cwshed-clone/belki-base:py312-d375af9a0f80` contains Python 3.12 plus the current `requirements.txt`; `reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc` contains Nginx plus `nginx.conf`. Rebuild and retag the matching base image whenever its source file changes; ordinary CI builds only copy application or static files.
|
||||||
- The `ryzen-runner-dind` service on `root@10.3.1.168` has a valid Runner registration and its helper container can reach `https://git.nyan404.ru/`. On 2026-08-21 its malformed `DOCKER_AUTH_CONFIG` was removed and the pre-change configuration was backed up on the host as `/etc/gitlab-runner/config.toml.bak-20260821-1334`.
|
- The `ryzen-runner-dind` service on `root@10.3.1.168` has a valid Runner registration and its helper container can reach `https://git.nyan404.ru/`. On 2026-08-21 its malformed `DOCKER_AUTH_CONFIG` was removed and the pre-change configuration was backed up on the host as `/etc/gitlab-runner/config.toml.bak-20260821-1334`.
|
||||||
- The Belki deploy job verifies and copies `BELKI_WEB_PASSWORD` into `Secret/belki-runtime`; the web Deployment requires that key and cannot start without it.
|
- The Belki deploy job copies `BELKI_WEB_PASSWORD` into `Secret/belki-runtime`; if that optional CI variable is absent, it falls back to the already required `BELKI_ADMIN_PASSWORD` so the web Deployment can start. Configure `BELKI_WEB_PASSWORD` separately when a distinct web password is needed.
|
||||||
- The job waits for the DinD daemon and runs `docker info` before starting the build.
|
- The job waits for the DinD daemon and runs `docker info` before starting the build.
|
||||||
- GitLab Runner retries source checkout up to three times (`GET_SOURCES_ATTEMPTS=3`) to absorb transient connectivity failures before the job script starts. A persistent inability to reach `git.nyan404.ru:443` still requires repair on the selected runner host.
|
- GitLab Runner retries source checkout up to three times (`GET_SOURCES_ATTEMPTS=3`) to absorb transient connectivity failures before the job script starts. A persistent inability to reach `git.nyan404.ru:443` still requires repair on the selected runner host.
|
||||||
- The local image is currently `belki-calculator:test`; the CI target is now `$DOCKER_REGISTRY/belki:latest`.
|
- The local image is currently `belki-calculator:test`; the CI target is now `$DOCKER_REGISTRY/belki:latest`.
|
||||||
|
|||||||
Reference in new issue
Block a user