summaryrefslogtreecommitdiff
path: root/.gitlab/ci/setup.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/setup.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/setup.gitlab-ci.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.gitlab/ci/setup.gitlab-ci.yml b/.gitlab/ci/setup.gitlab-ci.yml
new file mode 100644
index 00000000000..debc90a1cb0
--- /dev/null
+++ b/.gitlab/ci/setup.gitlab-ci.yml
@@ -0,0 +1,43 @@
+# Insurance in case a gem needed by one of our releases gets yanked from
+# rubygems.org in the future.
+cache gems:
+ extends: .dedicated-no-docs-no-db-pull-cache-job
+ script:
+ - bundle package --all --all-platforms
+ artifacts:
+ paths:
+ - vendor/cache
+ only:
+ - master@gitlab-org/gitlab-ce
+ - master@gitlab-org/gitlab-ee
+ - tags
+ dependencies:
+ - setup-test-env
+
+gitlab_git_test:
+ extends: .dedicated-runner
+ variables:
+ SETUP_DB: "false"
+ before_script: []
+ dependencies: []
+ cache: {}
+ script:
+ - spec/support/prepare-gitlab-git-test-for-commit --check-for-changes
+ except:
+ - /(^docs[\/-].*|.*-docs$)/
+ - /(^qa[\/-].*|.*-qa$)/
+
+no_ee_check:
+ extends: .dedicated-runner
+ variables:
+ SETUP_DB: "false"
+ before_script: []
+ dependencies: []
+ cache: {}
+ script:
+ - scripts/no-ee-check
+ only:
+ - /.+/@gitlab-org/gitlab-ce
+ except:
+ - /(^docs[\/-].*|.*-docs$)/
+ - /(^qa[\/-].*|.*-qa$)/