Skip to content

Unify Odoo stable deploy path#1036

Merged
cbusillo merged 3 commits into
mainfrom
unify-odoo-stable-deploy-path
May 31, 2026
Merged

Unify Odoo stable deploy path#1036
cbusillo merged 3 commits into
mainfrom
unify-odoo-stable-deploy-path

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • remove the legacy Odoo testing-deploy service/module path and route reusable testing deploy through target replacement apply
  • make target replacement apply mint stable release tuples and return release tuple IDs in operation results
  • make Odoo prod promotion keep backup/promotion orchestration while delegating the actual stable deploy to target replacement apply
  • carry deploy-phase override payloads through destructive restore and fail closed on missing upstream restore env

Validation

  • uv run python -m unittest
  • uv run python -m unittest tests.test_odoo_post_deploy tests.test_dokploy tests.test_odoo_prod_promotion tests.test_odoo_prod_promotion_run tests.test_odoo_stable_target_replacement tests.test_product_onboarding tests.test_driver_descriptors tests.test_service
  • uv run --extra dev ruff check control_plane/contracts/odoo_stable_target_replacement.py control_plane/dokploy.py control_plane/drivers/registry.py control_plane/service.py control_plane/workflows/odoo_post_deploy.py control_plane/workflows/odoo_prod_promotion.py control_plane/workflows/odoo_stable_target_replacement.py tests/test_dokploy.py tests/test_odoo_post_deploy.py tests/test_odoo_prod_promotion.py tests/test_odoo_stable_target_replacement.py tests/test_product_onboarding.py tests/test_service.py
  • uv run --extra dev ruff format --check control_plane/contracts/odoo_stable_target_replacement.py control_plane/dokploy.py control_plane/drivers/registry.py control_plane/service.py control_plane/workflows/odoo_post_deploy.py control_plane/workflows/odoo_prod_promotion.py control_plane/workflows/odoo_stable_target_replacement.py tests/test_dokploy.py tests/test_odoo_post_deploy.py tests/test_odoo_prod_promotion.py tests/test_odoo_stable_target_replacement.py tests/test_product_onboarding.py tests/test_service.py
  • uv run --extra dev mypy control_plane/contracts/odoo_stable_target_replacement.py control_plane/dokploy.py control_plane/drivers/registry.py control_plane/service.py control_plane/workflows/odoo_post_deploy.py control_plane/workflows/odoo_prod_promotion.py control_plane/workflows/odoo_stable_target_replacement.py
  • docker run --rm -v "/Users/cbusillo/.code/working/launchplane/branches/unify-odoo-stable-deploy-path:/repo" -w /repo rhysd/actionlint:1.7.12 -config-file .github/actionlint.yaml .github/workflows/reusable-odoo-testing-deploy.yml .github/workflows/odoo-target-replacement-apply.yml .github/workflows/ci.yml .github/workflows/security.yml

@cbusillo cbusillo merged commit 7b4fcf7 into main May 31, 2026
12 checks passed
@cbusillo cbusillo deleted the unify-odoo-stable-deploy-path branch May 31, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant