From 453ded0f2f9dd32674bef3d4accf8baacf0d87ac Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Fri, 22 May 2020 10:49:09 -0400 Subject: [PATCH] Adding a counter to the dependencies cache The cache needed to be cleared due to an issue presented when the source for one dependency moved from one place to another. To accomplish this we add a counter. This is similar to the recommendation in the CircleCI documentation on caching Closes #8184 Signed-off-by: Matt Farina --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a61b32b79..92d2f732c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,13 +13,13 @@ jobs: version: 18.06.0-ce - restore_cache: keys: - - glide-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} - - glide- # used as a fall through if the checksum fails to find exact entry + - glide-2-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} + - glide-2- # used as a fall through if the checksum fails to find exact entry - run: name: install dependencies command: .circleci/bootstrap.sh - save_cache: - key: glide-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} + key: glide-2-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} paths: - /root/.glide # Where the glide cache is stored - run: