Skip to main content

odoo-release-promotion

Define and enforce a dev-to-staging-to-prod promotion pipeline for Odoo module releases with gate verification and rollback

소스 정보

저장소
Insightpulseai/odoo
최근 소스 활동
2026년 4월 12일 11:56
감지된 SKILL.md 언어
영어
스타
6
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
odoo-release-promotion
description
Define and enforce a dev-to-staging-to-prod promotion pipeline for Odoo module releases with gate verification and rollback
version
1.0
compatibility
{"hosts":["github-copilot","claude-code","codex-cli","cursor","gemini-cli"]}
tags
["odoo","governance","aca","observability"]
# odoo-release-promotion **Impact tier**: P1 -- Operational Readiness ## Purpose Close the release promotion gap where no formal dev-to-staging-to-prod gate process exists for Odoo module deployments. The benchmark audit found: no staging environment verification procedure, no migration pre-check, no rollback procedure, and no promotion gate between environments. ## When to Use - Defining the promotion pipeline for Odoo module releases. - Adding migration verification gates between environments. - Implementing rollback procedures for failed deployments. - Preparing for go-live with a repeatable release process. ## Required Evidence (inspect these repo paths first) | Path | What to look for | |------|-----------------| | `infra/azure/odoo-runtime.bicep` | ACA app definitions per environment | | `infra/ssot/azure/service-matrix.yaml` | Environment definitions | | `infra/ssot/azure/resources.yaml` | ACA apps, PG servers per environment | | `docs/runbooks/ODOO18_GO_LIVE_CHECKLIST.md` | Deployment/promotion line items | | `docs/audits/ODOO_AZURE_ENTERPRISE_BENCHMARK.md` | Release process gap row | | `addons/ipai/` | Module manifests with version numbers | ## Microsoft Learn MCP Usage Run at least these three queries: 1. `microsoft_docs_search("Azure Container Apps revision management blue green deployment")` -- retrieves ACA revision-based deployment strategies. 2. `microsoft_docs_search("Azure DevOps pipeline environment approval gates")` -- retrieves approval gate patterns for multi-environment promotion. 3. `microsoft_docs_search("Azure Container Apps rollback previous revision")` -- retrieves rollback mechanics for ACA revisions. Optional: 4. `microsoft_code_sample_search("azure devops pipeline approval gate yaml", language="yaml")` 5. `microsoft_docs_fetch("https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage")` ## Workflow 1. **Inspect repo** -- Read ACA Bicep for environment separation. Check if staging ACA apps exist. Read module manifests for version conventions. Check for any existing promotion scripts. 2. **Query MCP** -- Run the three searches. Capture revision management commands, approval gate YAML, rollback procedure. 3. **Compare** -- Identify: (a) Do separate staging ACA apps exist? (b) Is there a promotion gate (manual approval or automated test)? (c) Is there a migration verification step? (d) Is there a rollback procedure? 4. **Patch** -- Create: - `docs/runbooks/ODOO_RELEASE_PROMOTION.md` with the full promotion pipeline: dev -> staging -> prod. - Migration verification script or checklist (run `odoo-bin -u <module> --stop-after-init` on staging before prod). - Rollback procedure using ACA revision activation. - Update go-live checklist with promotion gate items. 5. **Verify** -- Promotion runbook exists with concrete commands. Migration verification step is documented. Rollback procedure is documented with specific ACA CLI commands. ## Outputs | File | Change | |------|--------| | `docs/runbooks/ODOO_RELEASE_PROMOTION.md` | Full promotion pipeline (new) | | `docs/runbooks/ODOO18_GO_LIVE_CHECKLIST.md` | Promotion gate line items | | `infra/azure/odoo-runtime.bicep` | Staging ACA apps if missing | | `docs/evidence/<stamp>/odoo-release-promotion/` | Runbook, MCP excerpts | ## Completion Criteria - [ ] Promotion runbook defines 3 environments: dev, staging, prod. - [ ] Each promotion step has a gate (test pass, manual approval, or health check). - [ ] Migration verification (`odoo-bin -u <module> --stop-after-init`) is a documented gate before production promotion. - [ ] Rollback procedure uses ACA revision activation with specific CLI commands. - [ ] Go-live checklist references the promotion runbook. - [ ] Evidence directory contains the runbook and MCP excerpts.
GitHub에서 보기