Make release job wait for stage integration tests
Add needs: [integration_test_stage, changelog] to release job override. This ensures the tag (which triggers prod deploy) is only created after stage integration tests pass, preventing race conditions between pipelines.
This commit is contained in:
@@ -94,6 +94,11 @@ cve_sbom_analysis:
|
||||
when: never
|
||||
- when: on_success
|
||||
|
||||
# Override release job to wait for stage integration tests before creating tag
|
||||
# This ensures the tag (which triggers prod deploy) is only created after stage passes
|
||||
release:
|
||||
needs: [integration_test_stage, changelog]
|
||||
|
||||
# Full integration test suite template (for feature/stage deployments)
|
||||
# Runs the complete pytest integration test suite against the deployed environment
|
||||
.integration_test_template: &integration_test_template
|
||||
|
||||
Reference in New Issue
Block a user