summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 18:06:00 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 18:06:00 +0000
commit7c862041c66833ebf49d9964f1797d93b1829690 (patch)
tree684a6603c6913e2c59c9bc7147d825ef35fc1b63 /.gitlab
parentd96abbee0b394ac40eb67253214fb9c41a31bd41 (diff)
downloadgitlab-ce-7c862041c66833ebf49d9964f1797d93b1829690.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/frontend.gitlab-ci.yml23
-rw-r--r--.gitlab/ci/qa.gitlab-ci.yml34
2 files changed, 34 insertions, 23 deletions
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml
index 16b85696727..adbfe2b4675 100644
--- a/.gitlab/ci/frontend.gitlab-ci.yml
+++ b/.gitlab/ci/frontend.gitlab-ci.yml
@@ -188,29 +188,6 @@ jest-foss:
cache:
policy: pull
-.qa-job-base:
- extends:
- - .default-tags
- - .default-retry
- - .default-cache
- - .default-only
- - .only-code-qa-changes
- dependencies: []
- stage: test
- before_script:
- - cd qa/
- - bundle install
-
-qa:internal:
- extends: .qa-job-base
- script:
- - bundle exec rspec
-
-qa:selectors:
- extends: .qa-job-base
- script:
- - bundle exec bin/qa Test::Sanity::Selectors
-
.qa-frontend-node:
extends:
- .default-tags
diff --git a/.gitlab/ci/qa.gitlab-ci.yml b/.gitlab/ci/qa.gitlab-ci.yml
index b2205a6a9f1..cf5dc625a86 100644
--- a/.gitlab/ci/qa.gitlab-ci.yml
+++ b/.gitlab/ci/qa.gitlab-ci.yml
@@ -1,3 +1,37 @@
+.qa-job-base:
+ extends:
+ - .default-tags
+ - .default-retry
+ - .default-only
+ - .only-code-qa-changes
+ stage: test
+ dependencies: []
+ # It's currently impossible to specify `needs: []` so we depend on `build-qa-image` which also has `.only-code-qa-changes`
+ needs: ["build-qa-image"]
+ cache:
+ key: "qa-framework-jobs:v1"
+ paths:
+ - vendor/ruby
+ before_script:
+ - cd qa/
+ - bundle install --clean --jobs=$(nproc) --path=vendor --retry=3 --quiet
+ - bundle check
+
+qa:internal:
+ extends: .qa-job-base
+ script:
+ - bundle exec rspec
+
+qa:selectors:
+ extends: .qa-job-base
+ script:
+ - bundle exec bin/qa Test::Sanity::Selectors
+
+qa:selectors-foss:
+ extends:
+ - qa:selectors
+ - .only-ee-as-if-foss
+
.package-and-qa-base:
extends: .default-only
image: ruby:2.6-alpine