summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-03-09 21:22:25 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-03-09 21:22:25 +0100
commit3da55e37d0d3025893fedb4b87bebd0f2b4635f1 (patch)
tree89074aa14a1397b4c1a39595477a117945625e44 /.gitlab-ci.yml
parentfdfcc1ac0d35026fdc41133ac39b619ac8728d93 (diff)
downloadgitlab-ce-3da55e37d0d3025893fedb4b87bebd0f2b4635f1.tar.gz
Retry bundler and apt-getretry-bundle
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffefeb6dfd8..d21785f7af2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,11 +19,11 @@ before_script:
- source ./scripts/prepare_build.sh
- ruby -v
- which ruby
- - gem install bundler --no-ri --no-rdoc
+ - retry gem install bundler --no-ri --no-rdoc
- cp config/gitlab.yml.example config/gitlab.yml
- touch log/application.log
- touch log/test.log
- - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
+ - retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate
stages: