Commit fef6f52b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'ensure-rake-is-called-within-the-correct-bundle-context' into 'master'

Ensure rake is called within the correct bundle context

See merge request !8882
parents 211f728a 8c5d55ea
...@@ -271,7 +271,7 @@ rake db:migrate:reset: ...@@ -271,7 +271,7 @@ rake db:migrate:reset:
<<: *use-db <<: *use-db
<<: *dedicated-runner <<: *dedicated-runner
script: script:
- rake db:migrate:reset - bundle exec rake db:migrate:reset
rake db:seed_fu: rake db:seed_fu:
stage: test stage: test
...@@ -302,7 +302,7 @@ teaspoon: ...@@ -302,7 +302,7 @@ teaspoon:
script: script:
- npm install - npm install
- npm link istanbul - npm link istanbul
- rake teaspoon - bundle exec rake teaspoon
artifacts: artifacts:
name: coverage-javascript name: coverage-javascript
expire_in: 31d expire_in: 31d
...@@ -353,10 +353,10 @@ migration paths: ...@@ -353,10 +353,10 @@ migration paths:
- cp config/resque.yml.example config/resque.yml - cp config/resque.yml.example config/resque.yml
- sed -i 's/localhost/redis/g' config/resque.yml - sed -i 's/localhost/redis/g' config/resque.yml
- bundle install --without postgres production --jobs $(nproc) $FLAGS --retry=3 - 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 - git checkout $CI_BUILD_REF
- source scripts/prepare_build.sh - source scripts/prepare_build.sh
- rake db:migrate - bundle exec rake db:migrate
coverage: coverage:
stage: post-test stage: post-test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment