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:
|
rules:
|
||||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||||
|
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||||
tags:
|
|
||||||
- yc
|
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@ -115,9 +114,8 @@ plan-${job_prefix}:
|
|||||||
rules:
|
rules:
|
||||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||||
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '\$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||||
tags:
|
|
||||||
- yc
|
|
||||||
interruptible: true
|
interruptible: true
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -161,10 +159,10 @@ apply-${job_prefix}:
|
|||||||
rules:
|
rules:
|
||||||
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
- if: '\$CI_COMMIT_BRANCH == "master" || \$CI_COMMIT_BRANCH == "main"'
|
||||||
when: ${when_clause}
|
when: ${when_clause}
|
||||||
|
- if: '\$CI_COMMIT_BRANCH =~ /^feature\/.*/'
|
||||||
|
when: ${when_clause}
|
||||||
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
- if: '\$CI_PIPELINE_SOURCE == "pipeline"'
|
||||||
when: ${when_clause}
|
when: ${when_clause}
|
||||||
tags:
|
|
||||||
- yc
|
|
||||||
interruptible: true
|
interruptible: true
|
||||||
dependencies:
|
dependencies:
|
||||||
- plan-${job_prefix}
|
- plan-${job_prefix}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user