Skip to content

Commit

Permalink
Fix broken build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
djrobstep committed Sep 18, 2022
1 parent 6db03eb commit ebbc2e4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand All @@ -32,7 +32,7 @@ jobs:
. ~/.virt/bin/activate
poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
- "~/.virt"
- run:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand All @@ -80,7 +80,7 @@ jobs:
. ~/.virt/bin/activate
poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
- "~/.virt"
- run:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand All @@ -128,7 +128,7 @@ jobs:
. ~/.virt/bin/activate
poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
- "~/.virt"
- run:
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand All @@ -177,7 +177,7 @@ jobs:
poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
- "~/.virt"
- run:
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand All @@ -226,7 +226,7 @@ jobs:
poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
- "~/.virt"
- run:
Expand All @@ -250,7 +250,7 @@ jobs:
- setup_remote_docker
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Install poetry
command: |
Expand Down

0 comments on commit ebbc2e4

Please sign in to comment.