Merge branch 'rs-reset-db' into 'master'
Run db:reset before db:create on CI Should prevent build failures caused by missing migrations, such as https://gitlab.com/gitlab-org/gitlab-ce/builds/439927 See merge request !2045
This commit is contained in:
commit
bdc62d704c
|
@ -8,7 +8,7 @@ before_script:
|
||||||
- touch log/application.log
|
- touch log/application.log
|
||||||
- touch log/test.log
|
- touch log/test.log
|
||||||
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
|
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
|
||||||
- bundle exec rake db:create RAILS_ENV=test
|
- bundle exec rake db:reset db:create RAILS_ENV=test
|
||||||
|
|
||||||
spec:feature:
|
spec:feature:
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue