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:
authorJacob Vosmaer <jacob@gitlab.com>2016-09-30 12:38:56 +0300
committerJacob Vosmaer <jacob@gitlab.com>2016-09-30 15:41:06 +0300
commitd90166172e91dbd63062c24d61e6566e57079a45 (patch)
tree9e9b9cb02f1219429ccba2937b6e9a8d4cd1691f /.gitlab-ci.yml
parent7d48778c4f35e61fd3e6e9bfbb476c27f9fb4602 (diff)
Cache gems in CI on tags
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f3873e57c1..899e0b6b105 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -332,3 +332,16 @@ pages:
- public
only:
- master
+
+# Insurance in case a gem needed by one of our releases gets yanked from
+# rubygems.org in the future.
+cache gems:
+ only:
+ - tags
+ variables:
+ SETUP_DB: "false"
+ script:
+ - bundle package --all --all-platforms
+ artifacts:
+ paths:
+ - vendor/cache