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-03-19 12:35:24 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-19 12:35:24 +0300
commit1d20d43661f3e98bde2bb5dc163a45fd90f8ac88 (patch)
tree53feb6983348a364ed4f52a4108866bf4ff0a599 /.gitlab-ci.yml
parent2774ddc308f96f49a0f26871ff544681229f4eee (diff)
Add latest changes from gitlab-org/gitlab@12-9-stable-ee
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 19dca0b2fcd..be1818391ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.1
stages:
- sync
- prepare
+ - fixtures
- test
- post-test
- review-prepare
@@ -11,6 +12,29 @@ stages:
- post-qa
- pages
+# always use `gitlab-org` runners
+default:
+ tags:
+ - gitlab-org
+
+workflow:
+ rules:
+ # If `$FORCE_GITLAB_CI` is set, create a pipeline.
+ - if: '$FORCE_GITLAB_CI'
+ # For merge requests, create a pipeline.
+ - if: '$CI_MERGE_REQUEST_IID'
+ # For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
+ - if: '$CI_COMMIT_BRANCH == "master"'
+ # For tags, create a pipeline.
+ - if: '$CI_COMMIT_TAG'
+ # If `$GITLAB_INTERNAL` isn't set, don't create a pipeline.
+ - if: '$GITLAB_INTERNAL == null'
+ when: never
+ # For stable, auto-deploy, and security branches, create a pipeline.
+ - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable(-ee)?$/'
+ - if: '$CI_COMMIT_BRANCH =~ /^\d+-\d+-auto-deploy-\d+$/'
+ - if: '$CI_COMMIT_BRANCH =~ /^security\//'
+
variables:
RAILS_ENV: "test"
NODE_ENV: "test"