Skip to content

Commit 5cda88a

Browse files
committed
add optional build test [build devel][skip ds054][skip ds210][skip ds005][skip tests]
1 parent 599c876 commit 5cda88a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ jobs:
6767
--build-arg VERSION="${CIRCLE_TAG:-$THISVERSION}" . \
6868
&& e=0 && break || sleep 15
6969
done && [ "$e" -eq "0" ]
70+
# test if development image should be built
71+
if [[ "$( git log --format=oneline -n 1 $CIRCLE_SHA1 | grep -i -E '\[build[ _]?devel\]' )" != "" ]]; then
72+
echo "building development container"
73+
docker tag poldracklab/fmriprep poldracklab/fmriprep:unstable
74+
docker build \
75+
--rm=false \
76+
-t poldracklab/fmriprep_devel \
77+
-f Dockerfile_devel .
78+
fi
7079
- run:
7180
name: Smoke test Docker image
7281
command: |

0 commit comments

Comments
 (0)