Skip to content

Commit 83b9933

Browse files
committed
REV: Restore 610e571
1 parent 7e7dd79 commit 83b9933

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.circleci/config.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,25 @@ jobs:
3636
- docker/get_base_image.sh
3737

3838
build_images:
39-
docker:
40-
- image: docker:17.10.0-ce-git
39+
machine:
40+
# Ubuntu 14.04 with Docker 17.10.0-ce
41+
image: circleci/classic:201710-02
4142
working_directory: /home/circleci/nipype
4243
steps:
43-
- setup_remote_docker
4444
- checkout:
4545
path: /home/circleci/nipype
4646
- attach_workspace:
4747
at: /tmp
48+
- run:
49+
name: Generate Dockerfiles
50+
command: |
51+
make gen-dockerfiles
4852
- run:
4953
name: Modify Nipype version if necessary
5054
command: |
5155
if [ "$CIRCLE_TAG" != "" ]; then
5256
sed -i -E "s/(__version__ = )'[A-Za-z0-9.-]+'/\1'$CIRCLE_TAG'/" nipype/info.py
5357
fi
54-
- run:
55-
name: Install build dependencies
56-
command: apk update && apk add make bash
57-
- run:
58-
name: Generate Dockerfiles
59-
command: |
60-
make gen-dockerfiles
6158
- run:
6259
name: Get base image (pull or build)
6360
no_output_timeout: 60m
@@ -68,7 +65,7 @@ jobs:
6865
docker pull nipype/nipype:base
6966
elif [ "$GET_BASE" == "BUILD" ]; then
7067
e=1 && for i in {1..5}; do
71-
docker build --cache-from=nipype/nipype -t nipype/nipype:base - < docker/Dockerfile.base && e=0 && break || sleep 15
68+
docker build -t nipype/nipype:base - < docker/Dockerfile.base && e=0 && break || sleep 15
7269
done && [ "$e" -eq "0" ]
7370
else
7471
echo "Error: method to get base image not understood"
@@ -118,11 +115,11 @@ jobs:
118115
- docker/*
119116

120117
test_pytest:
121-
docker:
122-
- image: docker:17.10.0-ce-git
118+
machine:
119+
# Ubuntu 14.04 with Docker 17.10.0-ce
120+
image: circleci/classic:201710-02
123121
working_directory: /home/circleci/nipype
124122
steps:
125-
- setup_remote_docker
126123
- attach_workspace:
127124
at: /tmp
128125
- run:
@@ -169,7 +166,6 @@ jobs:
169166
image: circleci/classic:201710-02
170167
working_directory: /home/circleci/nipype
171168
steps:
172-
- setup_remote_docker
173169
- attach_workspace:
174170
at: /tmp
175171
- run:
@@ -214,11 +210,11 @@ jobs:
214210
path: /home/circleci/work/tests
215211

216212
test_py3_fmri_spm_dartel_linear:
217-
docker:
218-
- image: docker:17.10.0-ce-git
213+
machine:
214+
# Ubuntu 14.04 with Docker 17.10.0-ce
215+
image: circleci/classic:201710-02
219216
working_directory: /home/circleci/nipype
220217
steps:
221-
- setup_remote_docker
222218
- attach_workspace:
223219
at: /tmp
224220
- run:
@@ -261,11 +257,11 @@ jobs:
261257
path: /home/circleci/work/tests
262258

263259
test_fmri_spm_nested_multiproc:
264-
docker:
265-
- image: docker:17.10.0-ce-git
260+
machine:
261+
# Ubuntu 14.04 with Docker 17.10.0-ce
262+
image: circleci/classic:201710-02
266263
working_directory: /home/circleci/nipype
267264
steps:
268-
- setup_remote_docker
269265
- attach_workspace:
270266
at: /tmp
271267
- run:

0 commit comments

Comments
 (0)