From 74cb187d308a7c51834ea052ca69c1dd0ed9716d Mon Sep 17 00:00:00 2001 From: Jakub Kaczmarzyk Date: Fri, 10 Jan 2020 09:02:31 -0500 Subject: [PATCH] ENH: update readme and invalidate circleci cache (#315) * move to version 2 of cache * use repronim circleci shield --- .circleci/config.yml | 18 ++++++++++-------- README.md | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6452f74e..78b970f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -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: | @@ -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 diff --git a/README.md b/README.md index fb68887e..b06501d1 100644 --- a/README.md +++ b/README.md @@ -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/)