Skip to content
Permalink
Browse files

using shared environment variables; automatically creating new cache …

…with new image
  • Loading branch information
jonrkarr committed Sep 6, 2018
1 parent 5aae859 commit f7178809e8ac6f6d21b70d89c77229a6f00e2f1e
Showing with 9 additions and 4 deletions.
  1. +9 −4 .circleci/config.yml
@@ -11,9 +11,7 @@ jobs:
# Load packages from cache
- restore_cache:
keys:
- cache-v11-{{ .Branch }}-{{ checksum "requirements.txt" }}
- cache-v11-{{ .Branch }}-
- cache-v11-
- v1-{{ arch }}-{{ .Branch }}-{{ checksum "/etc/docker-image-tag" }}-{{ checksum "requirements.txt" }}

# Python 3 installation tasks
- run:
@@ -37,7 +35,7 @@ jobs:

# Save packages to cache
- save_cache:
key: cache-v11-{{ .Branch }}-{{ checksum "requirements.txt" }}
key: v1-{{ arch }}-{{ .Branch }}-{{ checksum "/etc/docker-image-tag" }}-{{ checksum "requirements.txt" }}
paths:
- /usr/local/lib/python3.6/site-packages

@@ -85,3 +83,10 @@ jobs:
- store_artifacts:
path: /root/project/docs/_build/html
destination: docs

workflows:
version: 2
build:
jobs:
- build:
context: karr_lab

0 comments on commit f717880

Please sign in to comment.
You can’t perform that action at this time.