From 97ddb3f300905ad729a93a60b5edb08c2575af53 Mon Sep 17 00:00:00 2001 From: Gabriel Mazetto Date: Fri, 22 Jul 2016 18:56:27 +0200 Subject: [PATCH] speedup gem install in gitlab-ci docker's environments with haveged --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf0d7128..7295ecf8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ variables: services: - redis:latest before_script: + - apt-get update && apt-get install -y --quiet haveged && service haveged start && service haveged status - gem update --system --no-document - gem install bundler --no-ri --no-rdoc - bundle install -j $(nproc) --path vendor --retry 3 @@ -45,6 +46,7 @@ test:jruby-9.1: services: - redis:latest before_script: + - apt-get update && apt-get install -y --quiet haveged - jgem update --system --no-document - jgem install bundler --no-ri --no-rdoc - bundle install -j $(nproc) --path vendor --retry 3