Skip to content

Commit

Permalink
CI: Upgrade machine for newer docker
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Feb 6, 2023
1 parent e8d19ea commit 1c0ad25
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# reusable anchors
_machine_defaults: &machine_defaults
environment:
TZ: "/usr/share/zoneinfo/America/Los_Angeles"
SCRATCH: "/scratch"
machine:
image: ubuntu-2204:current
docker_layer_caching: true
working_directory: /tmp/src/fmriprep
resource_class: large

docs_deploy: &docs
docker:
- image: node:8.10.0
Expand Down Expand Up @@ -38,12 +49,7 @@ orbs:

jobs:
build:
machine:
image: ubuntu-2004:202107-02
working_directory: /tmp/src/smriprep
environment:
TZ: "/usr/share/zoneinfo/America/Los_Angeles"
SCRATCH: "/scratch"
<<: *machine_defaults
steps:
- restore_cache:
keys:
Expand Down Expand Up @@ -239,8 +245,7 @@ jobs:
- /home/circleci/.local

test_wrapper:
machine:
image: ubuntu-2004:202107-02
<<: *machine_defaults
steps:
- attach_workspace:
at: /tmp
Expand Down Expand Up @@ -389,8 +394,7 @@ jobs:
path: /tmp/src/smriprep/wrapper/dist

ds005:
machine:
image: ubuntu-2004:202107-02
<<: *machine_defaults
working_directory: /tmp/ds005
environment:
- FS_LICENSE: /tmp/fslicense/license.txt
Expand Down Expand Up @@ -558,9 +562,7 @@ jobs:
path: /tmp/ds005/derivatives
destination: fasttrack
ds054:
machine:
image: ubuntu-2004:202107-02
working_directory: /tmp/ds054
<<: *machine_defaults
environment:
- FS_LICENSE: /tmp/fslicense/license.txt
steps:
Expand Down Expand Up @@ -813,9 +815,7 @@ jobs:
twine upload dist/smriprep* wrapper/dist/smriprep*
deploy_docker:
machine:
image: ubuntu-2004:202107-02
working_directory: /tmp/src/smriprep
<<: *machine_defaults
steps:
- restore_cache:
keys:
Expand Down

0 comments on commit 1c0ad25

Please sign in to comment.