Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: create an empty cache by including extra key data when loading cache #3131

Merged
merged 1 commit into from
Apr 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ parameters:
current_golden_images_hash:
type: string
default: 3a3d3c96e67356a3bcc4c0eeb77076938c1bb31e
wireit_cache_name:
type: string
default: wireit
commands:
downstream:
steps:
Expand All @@ -20,8 +23,8 @@ commands:
- v3b-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- restore_cache:
keys:
- v3b-wireit-{{ arch }}-{{ checksum "package.json" }}-
- v3b-wireit-{{ arch }}-
- v3b-<< pipeline.parameters.wireit_cache_name >>-{{ arch }}-{{ checksum "package.json" }}-
- v3b-<< pipeline.parameters.wireit_cache_name >>-{{ arch }}-
- run:
name: Installing Dependencies
command: yarn --frozen-lockfile --cache-folder ~/.cache/yarn
Expand Down