diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-30 16:46:37 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-30 16:46:37 +0000 |
commit | 8c5d55ea335ecda22e74875f28ba43a6cb97467f (patch) | |
tree | 1aff0b8cf74f8d09dc5aa4f20dbaadf0782bad16 /.gitlab-ci.yml | |
parent | d6450bb249a1780fac01b4f552f72f4a48fa489a (diff) | |
download | gitlab-ce-8c5d55ea335ecda22e74875f28ba43a6cb97467f.tar.gz |
Ensure rake is called within the correct bundle contextensure-rake-is-called-within-the-correct-bundle-context
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 782a43cbe74..deb5345d3bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -271,7 +271,7 @@ rake db:migrate:reset: <<: *use-db <<: *dedicated-runner script: - - rake db:migrate:reset + - bundle exec rake db:migrate:reset rake db:seed_fu: stage: test @@ -302,7 +302,7 @@ teaspoon: script: - npm install - npm link istanbul - - rake teaspoon + - bundle exec rake teaspoon artifacts: name: coverage-javascript expire_in: 31d @@ -353,10 +353,10 @@ migration paths: - cp config/resque.yml.example config/resque.yml - sed -i 's/localhost/redis/g' config/resque.yml - bundle install --without postgres production --jobs $(nproc) $FLAGS --retry=3 - - rake db:drop db:create db:schema:load db:seed_fu + - bundle exec rake db:drop db:create db:schema:load db:seed_fu - git checkout $CI_BUILD_REF - source scripts/prepare_build.sh - - rake db:migrate + - bundle exec rake db:migrate coverage: stage: post-test |