Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2015-12-10 12:50:21 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2015-12-10 12:50:21 +0300
commitbdc62d704c79b8f4e39dc7b5660b8d657a434895 (patch)
treeae59bc9608c5d55ac2208a676975187e92198c81
parentba79d1e5b8e169b680f128539ade3b6786f4ebd0 (diff)
parent86aa535562ea627ccea93bcdf7e63468a4a148bf (diff)
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
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 39d8f59cf07..c614e14e243 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ before_script:
- touch log/application.log
- touch log/test.log
- 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:
script: