Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-23 21:09:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-23 21:09:46 +0300
commitfdd0b0fd4592c74257980d07878db75705d22192 (patch)
treefcf923555aed86fea3842f1074ec45d2864db20c /.gitlab-ci.yml
parent9a9415ab127d5e660c09113238a6fb0a895218e9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 037dddec969..898325a0dbc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,13 @@ workflow:
rules:
# If `$FORCE_GITLAB_CI` is set, create a pipeline.
- if: '$FORCE_GITLAB_CI'
+ # As part of the process of creating RCs automatically, we update stable
+ # branches with the changes of the most recent production deployment. The
+ # merge requests used for this merge a branch release-tools/X into a stable
+ # branch. For these merge requests we don't want to run any pipelines, as
+ # they serve no purpose and will run anyway when the changes are merged.
+ - if: '$CI_COMMIT_BRANCH =~ /^release-tools\/\d+\.\d+\.\d+-rc\d+$/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ /^[\d-]+-stable(-ee)?$/ && $CI_PROJECT_PATH == "gitlab-org/gitlab"'
+ when: never
# For merge requests, create a pipeline.
- if: '$CI_MERGE_REQUEST_IID'
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).