08_CICD — Continuous Integration / Continuous Deployment
Ovillo technical guides for CI/CD on Azure DevOps (Server on-premise or Services; canonical pattern: a configured pool (
cicd.buildPool) with agents told apart by capability,Agent.ComputerName=BUILDAGENT01for build andDeployTarget=<env>for deploys) and on GitHub Actions (one workflow per entrypoint, environments, on-demandworkflow_dispatch). The platform is set byecosystem.config.json → cicd.platform.Generated by Ovillo.
About the 08_* numbering
⚠️ The numbering of _patron/ is NOT hierarchical. The order is a reading order (from structural to operational), not a dependency order; 08_CICD/ comes last because it is the most operational.
Index
| Document | Audience | When to read it |
|---|---|---|
GUIA_FASES_ADOPCION.md | Devs + project managers | Before running /hv:cicd-init. It decides which phase you start in (0, 1 or 2). |
GUIA_GITHUB_ACTIONS.md | Devs + project managers (GitHub) | Phases, commands, invariants G15-G19, opt-in security (CodeQL, Dependabot, secret scanning) and quality when the repository lives on GitHub. |
RUNBOOK_TEMPLATE.md | Devs + on-call | Template of the operational runbook that /hv:cicd-init fills in per project. Phase 2 projects only. |
RUNBOOK_DEPLOY_MANUAL.md | Devs | Step-by-step manual deployment procedure. Phase 0 projects only (no pipeline). |
AUDITAR_PIPELINE.md | Devs | How to audit your azure-pipelines.yml against G1-G19 with the cicd-pipeline-reviewer agent (after editing it by hand, or before registering it). Includes a real example. |
PERMISOS_CICD.md | Infrastructure + project management | Handoff to the infrastructure team: Use permission on the configured pool (cicd.buildPool) for the group, pipeline authorization, DeployTarget agents, PROD approvals. Phase >= 1. Includes an email template. |
The file names stay as they are: the skills point at those exact paths.
Recommended flow for a new project
1. Read GUIA_FASES_ADOPCION.md
2. Decide the adoption phase (0, 1 or 2)
3. Run /hv:cicd-init
4. If phase 0: use RUNBOOK_DEPLOY_MANUAL.md
If phase 1: edit the minimal azure-pipelines.yml (or .github/workflows/ci.yml) that was generated
If phase 2: use the filled-in RUNBOOK_TEMPLATE.md
5. Before editing the YAML by hand: review your platform's constraints (cicd.variant) or GUIA_GITHUB_ACTIONS.md
Skill + agent + hook
- Skill
cicd-architect— auto-invoked when editingazure-pipelines.ymlor.github/workflows/*.yml; proposes fixes according to G1-G19 - Migrating Classic (XAML) builds (.xaml/.xoml) → YAML: guided by hand through
skills/cicd-architect/references/classic-migration.md - Agents
cicd-pipeline-reviewer(Azure Pipelines) andgithub-actions-reviewer(GitHub Actions) — YAML audit with a severity per finding - Hook
pre-cicd-init.js— pre-flight when running/hv:cicd-init: Classic (.xaml) builds on Azure DevOps,gh auth statuson GitHub (WARN-first)
Rules (scoped by path, the paths: field)
.claude/skills/cicd-runtime/SKILL.md— invariants G1-G19, triggers onazure-pipelines*.ymland.github/workflows/*.yml
Document generated by Ovillo — CI/CD integration
Fuente: ovillo/_patron/08_CICD/README_EN.md