From fd52b9b529d35e9121ca08db428266fbd0b596db Mon Sep 17 00:00:00 2001 From: "kochetkov.s" Date: Fri, 23 Jan 2026 14:20:38 +0300 Subject: [PATCH] update gitlab ci --- scripts/generate-pipeline.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/generate-pipeline.sh b/scripts/generate-pipeline.sh index d5eea65..565a9ec 100755 --- a/scripts/generate-pipeline.sh +++ b/scripts/generate-pipeline.sh @@ -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}