From f5b45a172c9e9d2c1d0147d0e60d0070fad4c751 Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Mon, 3 May 2021 23:51:10 -0700 Subject: [PATCH] circleci: flush caches The rust cache is growing dramatically. Change the cache key to start over. The weird "v98" was something I'd intended to reset before landing the circleci config. Do the sane thing and start over at v01. The intent is that we just increment the number each time something gets broken. --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdcd1f45ec..97b82e3044 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,7 +37,7 @@ jobs: name: Restore postgres cache keys: # Restore ONLY if the rev key matches exactly - - postgres-cache-v98-{{ checksum "/tmp/cache-key-postgres" }} + - postgres-cache-v01-{{ checksum "/tmp/cache-key-postgres" }} # Build postgres if the restore_cache didn't find a build. # `make` can't figure out whether the cache is valid, since @@ -53,7 +53,7 @@ jobs: - save_cache: name: Save postgres cache - key: postgres-cache-v98-{{ checksum "/tmp/cache-key-postgres" }} + key: postgres-cache-v01-{{ checksum "/tmp/cache-key-postgres" }} paths: - tmp_install @@ -61,16 +61,16 @@ jobs: name: Restore rust cache keys: # Choose an exact match first, if it exists. - - rust-cache-deps-v98-{{ checksum "Cargo.lock" }} + - rust-cache-deps-v01-{{ checksum "Cargo.lock" }} # Fall back to an out of date cache. Cargo can figure out what needs rebuilding. - - rust-cache-deps-v98- + - rust-cache-deps-v01- # Build the rust code, including test binaries - run: cargo build --bins --tests - save_cache: name: Save rust cache - key: rust-cache-deps-v98-{{ checksum "Cargo.lock" }} + key: rust-cache-deps-v01-{{ checksum "Cargo.lock" }} paths: - ~/.cargo/registry - ~/.cargo/git