diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-09-30 11:38:56 +0200 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-10-14 14:02:34 +0100 |
commit | aef739605987dc70424b83c56ba393462520af52 (patch) | |
tree | 862d4b36ba6031bc6ba127561069edc0c51999aa | |
parent | 6d48c489d93d6dcbdfd955b7456d97ba6cdb23d1 (diff) | |
download | gitlab-ce-aef739605987dc70424b83c56ba393462520af52.tar.gz |
Cache gems in CI on tags
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62e06683124..7d19f55aca3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -339,3 +339,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 |