update gitlab ci

This commit is contained in:
kochetkov.s 2026-01-23 14:20:38 +03:00
parent 169508177d
commit fd52b9b529

View File

@ -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}