File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change
1
+ referenced :
2
+ generate-hash-step : &generate-hash-step
3
+ run :
4
+ name : Generate external data hash
5
+ command : |
6
+ cd ITK
7
+ find . -name \*.md5 -o -name \*.sha512 -print0 | xargs -0 git log -n 1 | tee /home/circleci/external-data.hashable
8
+ restore-data-step : &restore-data-step
9
+ restore_cache :
10
+ keys :
11
+ - ' v1-external-data-{{ checksum "/home/circleci/external-data.hashable" }}'
12
+ - ' v1-external-data'
13
+
1
14
version : 2
2
15
jobs :
3
16
build :
4
17
docker :
5
- - image : circleci/python:2.7
18
+ - image : circleci/python:2.7.16-stretch
6
19
working_directory : ~/
7
- resource_class : large
20
+ resource_class : medium
8
21
branches :
9
22
ignore :
10
23
- gh-pages
19
32
steps :
20
33
- checkout :
21
34
path : ~/ITK
22
- - restore_cache :
23
- keys :
24
- - external-data
35
+ - *generate-hash-step
36
+ - *restore-data-step
25
37
- restore_cache :
26
38
keys :
27
39
- ccache-{{ arch }}-{{ .Branch }}
75
87
key : ' ccache-{{ arch }}-{{ .Branch }}-{{ epoch }}'
76
88
paths : [ "/home/circleci/.ccache" ]
77
89
- save_cache :
78
- key : ' external-data'
90
+ key : ' v1- external-data-{{ checksum "/home/circleci/external-data.hashable" }} '
79
91
paths : [ "/home/circleci/.ExternalData" ]
You can’t perform that action at this time.
0 commit comments