@@ -4,14 +4,14 @@ _machine_defaults: &machine_defaults
4
4
TZ : " /usr/share/zoneinfo/America/Los_Angeles"
5
5
SCRATCH : " /scratch"
6
6
machine :
7
- image : ubuntu-2204:2023.04.2
7
+ image : default
8
8
docker_layer_caching : true
9
9
working_directory : /tmp/src/smriprep
10
10
resource_class : large
11
11
12
12
_python_defaults : &python_defaults
13
13
docker :
14
- - image : cimg/python:3.10.9
14
+ - image : cimg/python:3.12.2
15
15
auth :
16
16
username : $DOCKER_USER
17
17
password : $DOCKER_PAT
@@ -115,8 +115,7 @@ jobs:
115
115
name : Build Docker image
116
116
no_output_timeout : 60m
117
117
command : |
118
- export PY3=$( pyenv versions | awk '/^\* 3/ { print $2 }' )
119
- pyenv local $PY3
118
+ pyenv local 3
120
119
pip install hatch
121
120
# Get version, update files.
122
121
THISVERSION=$( hatch version )
@@ -139,8 +138,7 @@ jobs:
139
138
- run :
140
139
name : Check Docker image
141
140
command : |
142
- export PY3=$( pyenv versions | awk '/^\* 3/ { print $2 }' )
143
- pyenv local $PY3
141
+ pyenv local 3
144
142
# Get version, update files.
145
143
THISVERSION=$( hatch version )
146
144
BUILT_VERSION=$( docker run --rm nipreps/smriprep:latest --version )
@@ -309,8 +307,7 @@ jobs:
309
307
- run :
310
308
name : Test smriprep-wrapper (Python 2)
311
309
command : |
312
- export PY2=$( pyenv versions | awk '/^\* 2/ { print $2 }' )
313
- pyenv local $PY2
310
+ pyenv local 2.7
314
311
echo -n "Python version: "
315
312
python --version
316
313
pip install --upgrade "pip<21"
@@ -322,8 +319,7 @@ jobs:
322
319
- run :
323
320
name : Test smriprep-wrapper (Python 3)
324
321
command : |
325
- export PY3=$( pyenv versions | awk '/^\* 3/ { print $2 }' )
326
- pyenv local $PY3
322
+ pyenv local 3
327
323
echo -n "Python version: "
328
324
python --version
329
325
pip install --upgrade pip setuptools
@@ -440,10 +436,10 @@ jobs:
440
436
- run : *pull_from_registry
441
437
- restore_cache :
442
438
keys :
443
- - ds005-anat-v0 -{{ .Branch }}-{{ epoch }}
444
- - ds005-anat-v0 -{{ .Branch }}
445
- - ds005-anat-v0 -master
446
- - ds005-anat-v0 -next
439
+ - ds005-anat-v1 -{{ .Branch }}-{{ epoch }}
440
+ - ds005-anat-v1 -{{ .Branch }}
441
+ - ds005-anat-v1 -master
442
+ - ds005-anat-v1 -next
447
443
- restore_cache :
448
444
keys :
449
445
- testdata-v2-{{ .Branch }}-{{ epoch }}
@@ -500,7 +496,7 @@ jobs:
500
496
rm -rf /tmp/ds005/work/reportlets
501
497
rm -rf /tmp/ds005/work/smriprep_wf/fsdir_run_*/
502
498
- save_cache :
503
- key : ds005-anat-v0 -{{ .Branch }}-{{ epoch }}
499
+ key : ds005-anat-v1 -{{ .Branch }}-{{ epoch }}
504
500
paths :
505
501
- /tmp/ds005/work
506
502
0 commit comments