infra/.woodpecker
Viktor Barzin bbc797b30e
All checks were successful
ci/woodpecker/push/default Pipeline was successful
ci(woodpecker): stop applying/planning the Tier-0 vault stack in CI
The nightly drift-detection cron and every vault-touching push apply have
been failing because CI runs terragrunt plan/apply on the Tier-0 `vault`
stack, which manages Vault's own transit mount + ACL policies. The CI
`ci` Vault role intentionally lacks those admin perms (sys/mounts,
sys/policies/acl), so the run always errors:
  - apply: 403 on vault_mount.transit + vault_policy.personal_emo, plus an
    Invalid for_each (local.k8s_users from secret/platform is deferred)
  - drift: terragrunt plan exits 1 → fails the whole nightly run

vault is Tier-0 = human-applied via OIDC. Skip it in both pipelines:
- default.yml: skip `vault` in the platform-apply loop (kept in
  PLATFORM_STACKS so the app-stack detector still excludes it)
- drift-detection.yml: skip `vault` in the per-stack plan loop
- ci-cd.md: document the exclusion on both pipeline rows

Found during a CI-health sweep (user reported many failures): GitHub
Actions all green; all Woodpecker repos green except this recurring
infra-repo failure, doubled by the legacy repo-1 + repo-82 dual
registration.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 15:48:41 +00:00
..
breakglass-infra-ci.yml ci: retire in-cluster infra-ci build; breakglass becomes manual ghcr pull-and-save (ADR-0002 #30) 2026-06-13 10:07:58 +00:00
default.yml ci(woodpecker): stop applying/planning the Tier-0 vault stack in CI 2026-06-27 15:48:41 +00:00
drift-detection.yml ci(woodpecker): stop applying/planning the Tier-0 vault stack in CI 2026-06-27 15:48:41 +00:00
issue-automation.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00
postmortem-todos.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00
provision-user.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00
pve-nfs-exports-sync.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00
registry-config-sync.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00
renew-tls.yml woodpecker: disable partial clone (partial: false) — fix intermittent git exit-128 2026-06-19 09:06:44 +00:00