File size: 1,095 Bytes
49439f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # Workflow: agent-build-deploy — build, validate, test, stage, deploy agents
id: agent-build-deploy-cycle
name: Agent Build & Deployment Cycle
description: >
Build all agent definitions → validate registry cross-references →
run the fast test suite → stage artifact manifest → deploy guarded
(site + HF datasets via the repo release pipeline).
trigger: manual/manual.yaml
stages:
- id: build
run: python3 scripts/build_agents.py --json > artifacts/agent-manifest.json
gate: manifest.status == PASS
- id: validate
run: python3 scripts/verify_registries.py
gate: exit 0
- id: test
run: .venv/bin/pytest tests/ -q --ignore=tests/test_72h_closed_loop.py
gate: exit 0
- id: stage
run: python3 scripts/production_check.py
gate: status == PASS
- id: deploy
description: guarded rollout — site pages + datasets; requires human approval
approval: chamber
actions:
- git push origin main
- upload scripts (kyrexis/pec5d datasets) when HF_TOKEN present
rollback:
- git revert HEAD
- restore previous dataset revisions
|