Fix knapsack usage

This commit is contained in:
Kamil Trzcinski 2016-05-22 21:52:21 -05:00
parent e275b6d251
commit 9df2613a4e
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ prepare:
- JOB_NAME=( $CI_BUILD_NAME )
- export CI_NODE_INDEX=${JOB_NAME[1]}
- export CI_NODE_TOTAL=${JOB_NAME[2]}
- knapsack ${JOB_NAME[0]}
- knapsack-gitlab ${JOB_NAME[0]}
.exec: &exec
stage: test

View file

@ -358,7 +358,7 @@ GEM
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.10.0)
knapsack-gitlab (1.9.0)
knapsack-gitlab (1.9.2)
rake
timecop (>= 0.1.0)
launchy (2.4.3)

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'
require 'knapsack-gitlab'
relative_url_conf = File.expand_path('../config/initializers/relative_url', __FILE__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")