mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
update gitlab ci
This commit is contained in:
parent
169508177d
commit
fd52b9b529
@ -81,9 +81,8 @@ validate-${job_prefix}:
|
||||
rules:
|
||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||
tags:
|
||||
- yc
|
||||
interruptible: true
|
||||
|
||||
EOF
|
||||
@ -115,9 +114,8 @@ plan-${job_prefix}:
|
||||
rules:
|
||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||
tags:
|
||||
- yc
|
||||
interruptible: true
|
||||
artifacts:
|
||||
paths:
|
||||
@ -161,10 +159,10 @@ apply-${job_prefix}:
|
||||
rules:
|
||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||
when: ${when_clause}
|
||||
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||
when: ${when_clause}
|
||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||
when: ${when_clause}
|
||||
tags:
|
||||
- yc
|
||||
interruptible: true
|
||||
dependencies:
|
||||
- plan-${job_prefix}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user