Skip to content
Snippets Groups Projects
Commit 0f973571 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Install knapsack

parent b09a329f
No related branches found
No related tags found
No related merge requests found
Loading
@@ -23,6 +23,7 @@ before_script:
Loading
@@ -23,6 +23,7 @@ before_script:
- cp config/gitlab.yml.example config/gitlab.yml - cp config/gitlab.yml.example config/gitlab.yml
- bundle --version - bundle --version
- '[ "$USE_BUNDLE_INSTALL" != "true" ] || retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"' - '[ "$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' - '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate'
   
stages: stages:
Loading
@@ -74,7 +75,6 @@ update-knapsack:
Loading
@@ -74,7 +75,6 @@ update-knapsack:
- export KNAPSACK_REPORT_PATH=knapsack/${JOB_NAME}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json - export KNAPSACK_REPORT_PATH=knapsack/${JOB_NAME}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json
- export KNAPSACK_GENERATE_REPORT=true - export KNAPSACK_GENERATE_REPORT=true
- cp knapsack/${JOB_NAME}_report.json ${KNAPSACK_REPORT_PATH} - cp knapsack/${JOB_NAME}_report.json ${KNAPSACK_REPORT_PATH}
- bundle exec gem install bundler
- knapsack ${JOB_NAME[0]} - knapsack ${JOB_NAME[0]}
artifacts: artifacts:
paths: paths:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment