From 7e51dd81a9daa2dc4e92cd7945534b16db7ffd90 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Tue, 5 Apr 2022 10:27:03 +0200 Subject: [PATCH] Update the cache version in CircleCI. --- .circleci/config.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5d5511bb..6ef9db1f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,9 +35,9 @@ jobs: command: sudo chown -R circleci:circleci /usr/local - restore_cache: keys: - - v4-npm-{{ .Branch }}-{{ checksum "package-lock.json" }} - - v4-npm-{{ .Branch }}- - - v4-npm- + - v5-npm-{{ .Branch }}-{{ checksum "package-lock.json" }} + - v5-npm-{{ .Branch }}- + - v5-npm- - run: name: builds static assets command: | @@ -48,7 +48,7 @@ jobs: - ./node_modules - /usr/local/lib/node_modules - /usr/local/bin - key: v4-npm-{{ .Branch }}-{{ checksum "package-lock.json" }} + key: v5-npm-{{ .Branch }}-{{ checksum "package-lock.json" }} - persist_to_workspace: root: ~/repo paths: @@ -87,9 +87,9 @@ jobs: command: sudo chown -R circleci:circleci /usr/local - restore_cache: keys: - - v4-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }} - - v4-python-{{ .Branch }}- - - v4-python- + - v5-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }} + - v5-python-{{ .Branch }}- + - v5-python- - run: name: install python dependencies command: | @@ -100,7 +100,7 @@ jobs: - save_cache: paths: - ./venv - key: v4-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }} + key: v5-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }} - persist_to_workspace: root: ~/repo paths: -- GitLab