mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-08 21:21:34 +03:00
fix(ci): improve workflow rules for child pipeline
Add multiple pipeline source conditions to ensure child pipeline runs when triggered from MR
This commit is contained in:
parent
99fcdf5717
commit
d2527c60aa
@ -7,7 +7,9 @@ cat > "$OUTPUT_FILE" << 'HEADER'
|
|||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
|
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
|
||||||
- when: always
|
- if: '$CI_PIPELINE_SOURCE == "parent_pipeline"'
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "trigger"'
|
||||||
|
- if: '$CI_COMMIT_BRANCH'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
AWS_EC2_METADATA_DISABLED: "true"
|
AWS_EC2_METADATA_DISABLED: "true"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user