summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-10-25 12:39:06 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-10-25 13:26:31 +0200
commit240730abe5e1fa1609d988aeb9f42f9f747ac202 (patch)
tree9edfc51afac591f4616246057d3df77942597572
parentd0f0bad2d5b9860006273526e157c796eccd943c (diff)
downloadgitlab-ce-fix/migration-paths-tmp.tar.gz
WIP Improve migration paths jobfix/migration-paths-tmp
-rw-r--r--.gitlab-ci.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f3cb61398d..a74fbc44c83 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -279,19 +279,20 @@ bundler:audit:
migration paths:
stage: test
<<: *use-db
- only:
- - master@gitlab-org/gitlab-ce
+ variables:
+ SETUP_DB: "false"
+ # only:
+ # - master@gitlab-org/gitlab-ce
script:
- git checkout HEAD .
- git fetch --tags
- git checkout v8.5.9
- - mv config/resque.yml config/resque.yml.new
- - 'echo test: unix:/var/opt/gitlab/redis/redis.socket > config/resque.yml'
+ - 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
- git checkout $CI_BUILD_REF
- - rm config/resque.yml
- - mv config/resque.yml.new config/resque.yml
+ - source scripts/prepare_build.sh
- rake db:migrate
coverage: