Files
stack/tests/api
kert 6bba64ef16
Some checks failed
ci/woodpecker/push/infra-ci Pipeline was successful
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
harden provision: API-only Gitea, safe SQL, retry, Woodpecker sync
- Replace docker exec gitea with GiteaClient.change_admin_password()
  API call — no Docker socket needed for Gitea (#110)
- Use psql -v variable binding for passwords instead of f-string
  interpolation — passwords never appear in SQL text (#113)
- Wrap each backend in try/except with 3x retry + exponential
  backoff — partial failure still writes .env (#111)
- Add provision_woodpecker() to sync rotated creds (gitea_token,
  registry_pass, s3 keys) to Woodpecker repo secrets via API (#112)
- Return ProvisionResult dataclass with per-backend status

fix #109 fix #110 fix #111 fix #112 fix #113
2026-03-22 13:31:04 -04:00
..