This commit is contained in:
Kamil Trzcinski 2016-05-22 20:40:56 -05:00
parent 77f8deec2c
commit e275b6d251
2 changed files with 2 additions and 2 deletions

View file

@ -22,6 +22,7 @@ before_script:
- cp config/gitlab.yml.example config/gitlab.yml
- bundle --version
- retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- retry gem install knapsack-gitlab
- '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate'
stages:
@ -49,7 +50,6 @@ prepare:
- JOB_NAME=( $CI_BUILD_NAME )
- export CI_NODE_INDEX=${JOB_NAME[1]}
- export CI_NODE_TOTAL=${JOB_NAME[2]}
- gem install knapsack
- knapsack ${JOB_NAME[0]}
.exec: &exec

View file

@ -3,7 +3,7 @@
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'knapsack-gitlab'
require 'knapsack'
relative_url_conf = File.expand_path('../config/initializers/relative_url', __FILE__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")