Skip to content

Commit

Permalink
Merge pull request #46 from sue445/feature/update_circleci_cache_key
Browse files Browse the repository at this point in the history
Change CircleCI cache key format
  • Loading branch information
sue445 authored Jun 17, 2018
2 parents 30cc007 + 8b318ce commit 75d3ce8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ oracle: &oracle
ORACLE_HOME: /u01/app/oracle/product/11.2.0/xe
ORACLE_SID: XE
ORACLE_SYSTEM_PASSWORD: oracle
NLS_LANG: AMERICAN_AMERICA.UTF8

working_directory: /home/circleci/app

Expand All @@ -46,11 +47,11 @@ save_repo_cache_option: &save_repo_cache_option

restore_bundle_cache_option: &restore_bundle_cache_option
keys:
- v2-bundle-{{ .Environment.CIRCLE_JOB }}-{{ checksum "index_shotgun.gemspec" }}
- v2-bundle-{{ .Environment.CIRCLE_JOB }}
- v3-bundle-{{ .Environment.CIRCLE_JOB }}-{{ epoch }}
- v3-bundle-{{ .Environment.CIRCLE_JOB }}

save_bundle_cache_option: &save_bundle_cache_option
key: v2-bundle-{{ .Environment.CIRCLE_JOB }}-{{ checksum "index_shotgun.gemspec" }}
key: v3-bundle-{{ .Environment.CIRCLE_JOB }}-{{ epoch }}
paths:
- /home/circleci/app/vendor/bundle
- /home/circleci/app/gemfiles/vendor/bundle
Expand Down

0 comments on commit 75d3ce8

Please sign in to comment.