- Add phoenix-deploy-gov-portal-live-from-workspace.sh (DBIS/ICCC/OMNL/XOM); DBIS script delegates to it. - deploy-targets: Gov_Web_Portals ICCC/OMNL/XOM with xom-dev healthchecks. - server.js: optional PHOENIX_DEPLOY_VERIFY_SHA_ON_BRANCH via Gitea commit + compare. - Gitea workflow templates: dbis/iccc/omnl/xom portal-ci-and-live (monorepo overlay CI, deploy needs verify); concurrency groups; document deploy-only DBIS fallback. - Docs: GITEA_GOV_PORTALS_LIVE_SOURCE_OF_TRUTH.md; matrix/checklist/AGENTS/MASTER_INDEX/Gov portals deployment cross-links. - scripts: gitea-tag-repo-release.sh; report-gitea-cd-parity lists repos/*.yml templates. Co-authored-by: Cursor <cursoragent@cursor.com>
2.0 KiB
2.0 KiB
Gitea CD/CI — operator checklist
Use this after changing phoenix-deploy-api/deploy-targets.json or adding workflows under config/gitea-workflow-templates/.
One-time per application repo (on Gitea)
- Actions enabled for the org/repo (Gitea settings).
- Secrets on that repo (not only global):
PHOENIX_DEPLOY_URL— full URL forPOST(same shape asd-bis/proxmoxworkflows use), typicallyhttp://<dev-vm>:4001/api/deployor HTTPS equivalent.PHOENIX_DEPLOY_TOKEN— bearer token accepted by Phoenix deploy API.GITEA_TOKEN— required for gov portal CI workflows that cloneGov_Web_Portals/gov-portals-monorepo(read-only token is enough).
- Workflow file in the repo: copy from
config/gitea-workflow-templates/repos/README.mdor use the repo’s existing.gitea/workflows/*.yml.
Phoenix deploy host (LAN)
git pullproxmox sodeploy-targets.jsonandscripts/deployment/phoenix-deploy-*.shmatch Gitead-bis/proxmoxmaster/main.- Restart or reinstall phoenix-deploy-api if you manage it via systemd (see
phoenix-deploy-api/scripts/install-systemd.sh). GITEA_TOKENon that host must allow archive fetch for repos you deploy.- Optional: set
PHOENIX_DEPLOY_VERIFY_SHA_ON_BRANCH=1on the Phoenix deploy API host soPOST /api/deployrequests that includeshamust resolve to a commit on the declaredbranch(seephoenix-deploy-api/README.md).
Verify locally (proxmox clone)
bash scripts/validation/validate-phoenix-deploy-targets.sh phoenix-deploy-api/deploy-targets.json
bash scripts/verify/report-gitea-cd-parity.sh