summaryrefslogtreecommitdiff
path: root/qa/Gemfile
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2019-06-03 10:37:43 +0000
committerRémy Coutable <remy@rymai.me>2019-06-03 10:37:43 +0000
commit3922c6da841871f010dcffb3fcbfffc48d49bdab (patch)
treeec90ac9c18bbd01056b42dc89bbe5a1de2be0958 /qa/Gemfile
parent0488c26ec6d10b943999b7fb61ca7209ab2c275e (diff)
downloadgitlab-ce-3922c6da841871f010dcffb3fcbfffc48d49bdab.tar.gz
Generate knapsack report for review-qa-all
Add knapsack qa report and use it to run tests in parallel Use the RSpec runner with knapsack The way the Knapsack runner uses exec to start rspec seems incompatible with the way we expect it to work. Plus, it requires specifying KNAPSACK_TEST_DIR. Instead, we use knapsacks AllocatorBuilder to select the spec files to run, and then start rspec as normal, via RSpec::Core::Runner.run This also means we can incorporate tags. Let the job run automatically Include KNAPSACK_TEST_FILE_PATTERN in vars Check all defined knapsack env vars before requiring knapsack
Diffstat (limited to 'qa/Gemfile')
-rw-r--r--qa/Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/Gemfile b/qa/Gemfile
index 64215b24cf1..12994b85322 100644
--- a/qa/Gemfile
+++ b/qa/Gemfile
@@ -10,3 +10,4 @@ gem 'airborne', '~> 0.2.13'
gem 'nokogiri', '~> 1.10.3'
gem 'rspec-retry', '~> 0.6.1'
gem 'faker', '~> 1.6', '>= 1.6.6'
+gem 'knapsack', '~> 1.17'