Skip to content

Commit

Permalink
remove pyproject.toml hash from cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Oct 31, 2024
1 parent 889c102 commit 46d6de1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: '18'

- restore_cache:
key: v3-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-dependencies-{{ checksum "uv.lock" }}

- run:
name: Install node node_modules
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- ./.venv
- ./node_modules
- $HOME/.cache/uv
key: v3-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-dependencies-{{ checksum "uv.lock" }}

- run:
name: Pre-test checks
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: v3-machine-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-machine-dependencies-{{ checksum "uv.lock" }}
- run:
name: Install CDK Python dependencies
command: |
Expand All @@ -115,7 +115,7 @@ jobs:
paths:
- ./.venv
- ./node_modules
key: v3-machine-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-machine-dependencies-{{ checksum "uv.lock" }}

- run:
name: CDK version
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: v3-machine-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-machine-dependencies-{{ checksum "uv.lock" }}
- run:
name: CDK deploy
command: |
Expand All @@ -160,7 +160,7 @@ jobs:
- save_cache:
paths:
- .cdk.out
key: v3-machine-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-machine-dependencies-{{ checksum "uv.lock" }}
- slack/notify:
event: fail
template: basic_fail_1
Expand All @@ -186,7 +186,7 @@ jobs:
- node/install:
node-version: '18'
- restore_cache:
key: v3-dependencies-{{ checksum "pyproject.toml" }}-{{ checksum "uv.lock" }}
key: v3-dependencies-{{ checksum "uv.lock" }}
- run:
name: "Code Deploy: Create deployment group"
command: |
Expand Down

0 comments on commit 46d6de1

Please sign in to comment.