1.5 KiB
1.5 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.
- 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.
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