Skip to content

Commit

Permalink
ENH: update readme and invalidate circleci cache (#315)
Browse files Browse the repository at this point in the history
* move to version 2 of cache

* use repronim circleci shield
  • Loading branch information
kaczmarj authored Jan 10, 2020
1 parent d890e05 commit 74cb187
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
*setup_kwds
- restore_cache:
keys:
- dfs-v1-{{ .Branch }}-{{ .Revision }}
- dfs-v1-{{ .Branch }}
- dfs-v1
- dfs-v2-{{ .Branch }}-{{ .Revision }}
- dfs-v2-{{ .Branch }}
- dfs-v2
- run:
name: Test docker image builds
no_output_timeout: 360m
Expand All @@ -45,7 +45,8 @@ jobs:
pytest --cov -k 'test_docker' neurodocker
codecov
- save_cache:
key: dfs-v1-{{ .Branch }}-{{ .Revision }}
key: dfs-v2-{{ .Branch }}-{{ .Revision }}
when: on_success
paths:
- /tmp/cache

Expand All @@ -60,9 +61,9 @@ jobs:
*setup_kwds
- restore_cache:
keys:
- srs-v1-{{ .Branch }}-{{ .Revision }}
- srs-v1-{{ .Branch }}
- srs-v1
- srs-v2-{{ .Branch }}-{{ .Revision }}
- srs-v2-{{ .Branch }}
- srs-v2
- run:
name: Install singularity
command: |
Expand All @@ -81,7 +82,8 @@ jobs:
pytest --cov -k 'test_singularity' neurodocker
codecov
- save_cache:
key: srs-v1-{{ .Branch }}-{{ .Revision }}
key: srs-v2-{{ .Branch }}-{{ .Revision }}
when: on_success
paths:
- ~/tmp/cache

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Neurodocker

[![build status](https://img.shields.io/circleci/project/github/kaczmarj/neurodocker/master.svg)](https://circleci.com/gh/kaczmarj/neurodocker/tree/master)
[![build status](https://img.shields.io/circleci/project/github/ReproNim/neurodocker/master.svg)](https://circleci.com/gh/ReproNim/neurodocker/tree/master)
[![docker pulls](https://img.shields.io/docker/pulls/kaczmarj/neurodocker.svg)](https://hub.docker.com/r/kaczmarj/neurodocker/)
[![python versions](https://img.shields.io/pypi/pyversions/neurodocker.svg)](https://pypi.org/project/neurodocker/)

Expand Down

0 comments on commit 74cb187

Please sign in to comment.