decouple provision from deploy step fix #108
Provision now depends on build steps directly instead of deploy. Scan/upload/deploy failures no longer cascade-skip provision. Added failure: ignore so provision errors don't mask build status.
This commit is contained in:
@@ -276,8 +276,11 @@ steps:
|
|||||||
- build-push-mc
|
- build-push-mc
|
||||||
|
|
||||||
# ── Provision: derive credentials and rotate backends ────────
|
# ── Provision: derive credentials and rotate backends ────────
|
||||||
|
# Runs after deploy but also after builds — decoupled so that
|
||||||
|
# scan/upload failures don't prevent credential rotation.
|
||||||
- name: provision
|
- name: provision
|
||||||
image: ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
||||||
|
failure: ignore
|
||||||
volumes:
|
volumes:
|
||||||
- /run/user/1000/docker.sock:/var/run/docker.sock
|
- /run/user/1000/docker.sock:/var/run/docker.sock
|
||||||
- /home/kert/stack:/home/kert/stack
|
- /home/kert/stack:/home/kert/stack
|
||||||
@@ -288,7 +291,11 @@ steps:
|
|||||||
- cd /home/kert/stack
|
- cd /home/kert/stack
|
||||||
- uv run python -m api.auth provision ${CI_COMMIT_SHA}
|
- uv run python -m api.auth provision ${CI_COMMIT_SHA}
|
||||||
depends_on:
|
depends_on:
|
||||||
- deploy
|
- build-push-notebooks
|
||||||
|
- build-push-zotero
|
||||||
|
- build-push-docs
|
||||||
|
- build-push-api
|
||||||
|
- build-push-mc
|
||||||
|
|
||||||
# ── Failure reporter ─────────────────────────────────────────
|
# ── Failure reporter ─────────────────────────────────────────
|
||||||
- name: report-failure
|
- name: report-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user