mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
add branch workflow
This commit is contained in:
parent
ae30445723
commit
60636e8b34
@ -18,6 +18,7 @@ generate-pipeline:
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '$CI_COMMIT_BRANCH == "stage"'
|
||||
- if: '$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||
|
||||
trigger-downstream:
|
||||
stage: trigger
|
||||
@ -43,3 +44,4 @@ trigger-downstream:
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '$CI_COMMIT_BRANCH == "stage"'
|
||||
- if: '$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||
|
||||
@ -74,6 +74,7 @@ validate-${job_prefix}:
|
||||
rules:
|
||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '\$CI_COMMIT_BRANCH == "stage"'
|
||||
- if: '\$CI_COMMIT_BRANCH =~ /^feature\\/.*/'
|
||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||
interruptible: true
|
||||
artifacts:
|
||||
@ -115,6 +116,7 @@ plan-${job_prefix}:
|
||||
rules:
|
||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '\$CI_COMMIT_BRANCH == "stage"'
|
||||
- if: '\$CI_COMMIT_BRANCH =~ /^feature\\/.*/'
|
||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||
interruptible: true
|
||||
artifacts:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user