From a658c357a6edabcd2f77e14249ab83a0d46f5ab0 Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 7 Jan 2023 20:23:14 -0700 Subject: [PATCH] Caching based on version and requirements checksum only. --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f4c39c15..f81fcea4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ jobs: - run: sudo apt-get update - run: sudo apt-get install -y ffmpeg - restore_cache: - key: deps-{{ .Branch }}-3-8-{{ checksum "requirements.txt" }} + key: deps-3.8-{{ checksum "requirements.txt" }} - run: name: Install Requirements command: | @@ -78,7 +78,7 @@ jobs: . venv/bin/activate pip install -r requirements.txt - save_cache: - key: deps-{{ .Branch }}-3-8-{{ checksum "requirements.txt" }} + key: deps-3.8-{{ checksum "requirements.txt" }} paths: - "venv" - run: @@ -96,7 +96,7 @@ jobs: - run: sudo apt-get update - run: sudo apt-get install -y ffmpeg - restore_cache: - key: deps-{{ .Branch }}-3-9-{{ checksum "requirements.txt" }} + key: deps-3.9-{{ checksum "requirements.txt" }} - run: name: Install Requirements command: | @@ -104,7 +104,7 @@ jobs: . venv/bin/activate pip install -r requirements.txt - save_cache: - key: deps-{{ .Branch }}-3-9-{{ checksum "requirements.txt" }} + key: deps-3.9-{{ checksum "requirements.txt" }} paths: - "venv" - run: @@ -122,7 +122,7 @@ jobs: - run: sudo apt-get update - run: sudo apt-get install -y ffmpeg - restore_cache: - key: deps-{{ .Branch }}-3-10-{{ checksum "requirements.txt" }} + key: deps-3.10-{{ checksum "requirements.txt" }} - run: name: Install Requirements command: | @@ -130,7 +130,7 @@ jobs: . venv/bin/activate pip install -r requirements.txt - save_cache: - key: deps-{{ .Branch }}-3-10-{{ checksum "requirements.txt" }} + key: deps-3.10-{{ checksum "requirements.txt" }} paths: - "venv" - run: