Skip to content

Commit

Permalink
Change the cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach committed Sep 20, 2024
1 parent 807081e commit 8ef83b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ commands:
# Restore bundle cache
- restore_cache:
keys:
- orangelight-v3-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
- orangelight-v4-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
# Bundle install dependencies
- run:
name: Install dependencies
command: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs 4 --retry 3
- save_cache:
key: orangelight-v3-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
key: orangelight-v4-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
paths:
- ./vendor/bundle

Expand All @@ -73,13 +73,13 @@ jobs:
- restore_cache:
name: Restore cached dependencies
keys:
- orangelight-v3-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
- orangelight-v4-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
- run:
name: Yarn Install
command: yarn install --frozen-lockfile
- save_cache:
name: Save Yarn cache
key: orangelight-v3-yarn-{{ checksum "yarn.lock" }}
key: orangelight-v4-yarn-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
Expand Down Expand Up @@ -229,9 +229,9 @@ jobs:
- run:
name: Run scans
command: wapiti -v2 -u http://localhost:3003/catalog/9955667413506421
# - run:
# name: Run scans
# command: wapiti -v2 -u https://catalog-staging.princeton.edu/catalog/9947467143506421
- run:
name: Run scans
command: wapiti -v2 -u https://catalog-staging.princeton.edu/catalog/9947467143506421

reek:
docker:
Expand Down

0 comments on commit 8ef83b0

Please sign in to comment.