diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-21 21:08:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-21 21:08:15 +0300 |
commit | 10c562403c5e2b842e1e833db80f890295fc2b40 (patch) | |
tree | 01392740fe1f126e5c91acc557f3b2269a8e2f9c /.gitlab-ci.yml | |
parent | 68dc19adb749288e0e5cd2469437be1093a8654c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8644659198a..9fa296be455 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,20 +104,15 @@ workflow: # If `$GITLAB_INTERNAL` isn't set, don't create a pipeline. - if: '$GITLAB_INTERNAL == null' when: never - # For last 3 stable branches, create a pipeline with failure notifications. - - if: '$CI_COMMIT_BRANCH =~ /^15-[6|7|8]-stable(-ee)?$/' + # For stable, auto-deploy, and security branches, create a pipeline. + - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable(-ee)?$/' variables: <<: *ruby2-variables NOTIFY_PIPELINE_FAILURE_CHANNEL: "releases" + PIPELINE_NAME: 'Ruby 2 $CI_COMMIT_BRANCH branch pipeline' CREATE_INCIDENT_FOR_PIPELINE_FAILURE: "true" BROKEN_BRANCH_INCIDENTS_PROJECT: "gitlab-org/release/tasks" BROKEN_BRANCH_INCIDENTS_PROJECT_TOKEN: "${BROKEN_STABLE_INCIDENTS_PROJECT_TOKEN}" - PIPELINE_NAME: 'Ruby 2 $CI_COMMIT_BRANCH branch pipeline' - # For stable, auto-deploy, and security branches, create a pipeline. - - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable(-ee)?$/' - variables: - <<: *ruby2-variables - PIPELINE_NAME: 'Ruby 2 $CI_COMMIT_BRANCH branch pipeline' - if: '$CI_COMMIT_BRANCH =~ /^\d+-\d+-auto-deploy-\d+$/' variables: <<: *ruby2-variables |