1.6 KiB
1.6 KiB
Deploy Gate (Gitea)
Purpose
deploy-node1-runtime is a hard release gate for NODA1 runtime changes:
deployjob syncs target git ref on NODA1 (and can optionally rebuildgateway+experience-learner).phase6_gatejob runsmake phase6-smokeon NODA1.- If
phase6_gatefails, the workflow fails.
This prevents a deploy from being considered successful without a Phase-6 closed-loop smoke pass.
Workflow
File: .gitea/workflows/deploy-node1-runtime.yml
Manual trigger inputs:
deploy_ref(default:main)redeploy_runtime(default:false)ssh_host(optional override)ssh_user(optional override, defaultroot)
Required repo secrets:
NODA1_SSH_HOSTNODA1_SSH_USERNODA1_SSH_KEY
Safety notes
redeploy_runtime=falseonly syncs git on NODA1 and runs gate checks.redeploy_runtime=truerecreatesgatewayandexperience-learnercontainers.- If NODA1 git tree is dirty, workflow skips checkout/pull and still enforces
phase6_gate(safe mode for live nodes). - If NODA1
originremote is not the expected deploy-safe repo, workflow skips checkout/pull and still enforcesphase6_gate(prevents accidental downgrade from a stale remote). - Workflow uses SSH key validation and
IdentitiesOnly=yesto avoid host key collisions.
Expected PASS
deployjob: successful SSH sync of selecteddeploy_ref.phase6_gatejob:make phase6-smokereturns PASS.- Workflow conclusion:
success.
Failure handling
- SSH/network issues: one retry is attempted in gate step.
- Gate FAIL: treat as release blocker, inspect
artifacts/phase6-gate*.log.