Retire gitea-db Make targets (complete 4a91b85; RAPPS-WP-0019-T05)
All checks were successful
CCR intake gate / gate (push) Successful in 10s
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 276069@bnt-lap001
Assistant-Session: 2e192b3d-b3e8-4403-94d4-d55a2c8b476c
This commit is contained in:
codex 2026-10-22 00:09:03 +02:00
parent 7fbba919c5
commit 8bf107eb85
2 changed files with 5 additions and 13 deletions

View file

@ -12,7 +12,7 @@ make apps-pg-status # shared apps-pg cluster health (read-only)
make pg-status # confirms retired Bitnami postgresql-ha is absent make pg-status # confirms retired Bitnami postgresql-ha is absent
make valkey-status # confirms Valkey is absent make valkey-status # confirms Valkey is absent
make consumption-preflight CONSUMING_ENTITY=entity:<slug> ESTIMATE_EUR=<eur> make consumption-preflight CONSUMING_ENTITY=entity:<slug> ESTIMATE_EUR=<eur>
make db-deploy | apps-pg-deploy # production-touching make forgejo-db-deploy | apps-pg-deploy # production-touching
``` ```
`pg-deploy` and `valkey-deploy` are fail-closed. `*-status` / `*-logs` `pg-deploy` and `valkey-deploy` are fail-closed. `*-status` / `*-logs`

View file

@ -58,18 +58,10 @@ CREDENTIAL_HELPER_PURPOSE ?= flex-auth-openbao-smoke
##@ CloudNative PG (cnpg) — primary database operator ##@ CloudNative PG (cnpg) — primary database operator
db-deploy: ## Apply Gitea cnpg Cluster (creates gitea-db in databases namespace) db-deploy db-status db-shell db-logs: ## Retired Gitea-era gitea-db targets; use forgejo-db-*
$(KUBECTL) apply -f helm/gitea-db-cluster.yaml @echo "gitea-db was the CoulombCore-era Gitea database and does not exist on railiance01." >&2
@echo "Use forgejo-db-deploy / forgejo-db-status / forgejo-db-shell (RAPPS-WP-0019-T05)." >&2
db-status: ## Show cnpg cluster health @exit 2
$(KUBECTL) cnpg status gitea-db -n databases 2>/dev/null || \
$(KUBECTL) get cluster gitea-db -n databases -o wide
db-shell: ## Open psql shell on gitea-db primary
$(KUBECTL) cnpg psql gitea-db -n databases -- -U gitea gitea
db-logs: ## Tail gitea-db primary logs
$(KUBECTL) logs -n databases -l cnpg.io/cluster=gitea-db -f --tail=50
##@ Forgejo database (railiance01 production forge) ##@ Forgejo database (railiance01 production forge)