Skip to content

Commit

Permalink
Bump the bundle CI cache version
Browse files Browse the repository at this point in the history
Invalidate all previous cache, starting from scratch will be faster
than waiting for all caches to be replaced, which BTW doesn't happen
if a key is already present.
  • Loading branch information
elia committed Jul 10, 2020
1 parent 6772329 commit 15e3937
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ commands:
bundle lock
- restore_cache:
keys:
- solidus-gems-v2-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- solidus-gems-v2-{{ .Branch }}
- solidus-gems-v2-master
- solidus-gems-v2
- solidus-gems-v3-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- solidus-gems-v3-{{ .Branch }}
- solidus-gems-v3-master
- solidus-gems-v3

- run: |
bundle config set path 'vendor/bundle'
bundle check || bundle install
bundle clean
- save_cache:
key: solidus-gems-v2-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
key: solidus-gems-v3-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

Expand Down

0 comments on commit 15e3937

Please sign in to comment.