diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-22 19:27:34 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 17:08:17 +0200 |
commit | 20dc6a708b4bad9507412e3a96c1c0bd25cf6fc4 (patch) | |
tree | 44d0bf47702a87b0a8f45c25a0c797f0aedf1792 /.gitlab-ci.yml | |
parent | 3e61c8feb448bf44b025e7e7b02935b73ea52765 (diff) | |
download | gitlab-ce-20dc6a708b4bad9507412e3a96c1c0bd25cf6fc4.tar.gz |
Use knapsack directly
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2aaafdf0d92..837aed3ae0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,6 @@ before_script: - source ./scripts/prepare_build.sh - cp config/gitlab.yml.example config/gitlab.yml - bundle --version - #- retry gem install bundler - retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate' @@ -30,20 +29,12 @@ stages: - test - notifications -test-bundler: - stage: build - variables: - USE_DB: "false" - script: - - retry gem install bundler - - bundle exec bundle --version - prepare: stage: build variables: USE_DB: "false" script: - - bundle exec rake assets:precompile + #- bundle exec rake assets:precompile - echo "{}" > knapsack_rspec_report.json - echo "{}" > knapsack_cucumber_report.json artifacts: @@ -58,7 +49,8 @@ prepare: - JOB_NAME=( $CI_BUILD_NAME ) - export CI_NODE_INDEX=${JOB_NAME[1]} - export CI_NODE_TOTAL=${JOB_NAME[2]} - - bundle exec rake knapsack:${JOB_NAME[0]} + - gem install knapsack + - knapsack ${JOB_NAME[0]} .exec: &exec stage: test |