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

gitlab.com/Remmina/remmina-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta (tmow) <antenore@simbiosi.org>2022-11-15 03:06:32 +0300
committerAntenore Gatta (tmow) <antenore@simbiosi.org>2022-11-15 03:06:32 +0300
commit54b4f2cd68213c02053e028766ade1b87e3b70f9 (patch)
tree7c4fec56057169f7ff1953fd3a6986cfe790b608
parent7c4f17a09e647588a29bb0a2f319c2e2ebe44c52 (diff)
Adding cache
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4917075..2f76e44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
# The Docker image that will be used to build your app
image: ruby:latest
+# Cache gems in between builds
+cache:
+ key: $CI_COMMIT_REF_SLUG
+ paths:
+ - vendor/ruby
+
#Variables
variables:
JEKYLL_ENV: production
@@ -11,7 +17,8 @@ variables:
before_script:
- apt-get update -qq && apt-get install -y -qq rubygems
- gem install bundler
- - bundle install
+ - bundle config set --local path 'vendor/ruby'
+ - bundle install -j $(nproc)
pages:
script: