summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 10:45:02 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 10:45:02 +0200
commit0f97357145fa951e206536f11ca1d52efabe4675 (patch)
treef1f04799f01a9ad8ac76768c041873c4fb018d03 /.gitlab-ci.yml
parentb09a329fd8b314fc48114ce15d451a18d3fcb70f (diff)
downloadgitlab-ce-0f97357145fa951e206536f11ca1d52efabe4675.tar.gz
Install knapsack
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23bc2c2f837..53184f8f906 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ before_script:
- cp config/gitlab.yml.example config/gitlab.yml
- bundle --version
- '[ "$USE_BUNDLE_INSTALL" != "true" ] || retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"'
+ - retry gem install knapsack
- '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate'
stages:
@@ -74,7 +75,6 @@ update-knapsack:
- export KNAPSACK_REPORT_PATH=knapsack/${JOB_NAME}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json
- export KNAPSACK_GENERATE_REPORT=true
- cp knapsack/${JOB_NAME}_report.json ${KNAPSACK_REPORT_PATH}
- - bundle exec gem install bundler
- knapsack ${JOB_NAME[0]}
artifacts:
paths: