Skip to content

Commit d1ffaa9

Browse files
committed
Move dockerfiles one level up, rename docker/files, fix circle.yml leftovers from fmriprep
1 parent f62d535 commit d1ffaa9

File tree

10 files changed

+8
-8
lines changed

10 files changed

+8
-8
lines changed

circle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ dependencies:
2727
- if [[ -e ~/docker/image.tar ]]; then mv -n ~/docker/image.tar ~/docker/image_27.tar; fi
2828
- if [[ -e ~/docker/image_27.tar ]]; then docker load -i ~/docker/image_27.tar; fi
2929
- if [[ -e ~/docker/image_35.tar ]]; then docker load -i ~/docker/image_35.tar; fi
30-
- docker build -f docker/nipype_test/Dockerfile_py27 -t nipype/nipype_test:py27 . :
30+
- docker build -f docker/Dockerfile_py27 -t nipype/nipype_test:py27 . :
3131
timeout: 1600
32-
- docker build -f docker/nipype_test/Dockerfile_py35 -t nipype/nipype_test:py35 . :
32+
- docker build -f docker/Dockerfile_py35 -t nipype/nipype_test:py35 . :
3333
timeout: 1600
3434
- docker save nipype/nipype_test:py27 > ~/docker/image_27.tar :
3535
timeout: 1600
@@ -52,9 +52,9 @@ general:
5252
# production:
5353
# tag: /.*/
5454
# commands:
55-
# - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker push poldracklab/fmriprep:latest; fi :
55+
# - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker push nipype/nipype:latest; fi :
5656
# timeout: 21600
57-
# - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker tag poldracklab/fmriprep poldracklab/fmriprep:$CIRCLE_TAG && docker push poldracklab/fmriprep:$CIRCLE_TAG; fi :
57+
# - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker tag nipype/nipype nipype/nipype:$CIRCLE_TAG && docker push nipype/nipype:$CIRCLE_TAG; fi :
5858
# timeout: 21600
5959
# - printf "[distutils]\nindex-servers =\n pypi\n\n[pypi]\nusername:$PYPI_USER\npassword:$PYPI_PASS\n" > ~/.pypirc
6060
# - python setup.py sdist upload -r pypi
File renamed without changes.

docker/nipype_test/Dockerfile_py27 renamed to docker/Dockerfile_py27

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN conda update -y conda && \
3434
conda update --all -y python=2.7 && \
3535
pip install configparser
3636

37-
COPY docker/circleci/run_* /usr/bin/
37+
COPY docker/files/run_* /usr/bin/
3838
RUN chmod +x /usr/bin/run_*
3939

4040
# Speed up building

docker/nipype_test/Dockerfile_py34 renamed to docker/Dockerfile_py34

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ MAINTAINER The nipype developers https://github.com/nipy/nipype
3333
RUN conda update -y conda && \
3434
conda update --all -y python=3.4
3535

36-
COPY docker/circleci/run_* /usr/bin/
36+
COPY docker/files/run_* /usr/bin/
3737
RUN chmod +x /usr/bin/run_*
3838

3939
# Replace imglob with a Python3 compatible version

docker/nipype_test/Dockerfile_py35 renamed to docker/Dockerfile_py35

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ MAINTAINER The nipype developers https://github.com/nipy/nipype
3131

3232
WORKDIR /root
3333

34-
COPY docker/circleci/run_* /usr/bin/
34+
COPY docker/files/run_* /usr/bin/
3535
RUN chmod +x /usr/bin/run_*
3636

3737
# Replace imglob with a Python3 compatible version
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docker/circleci/tests.sh renamed to docker/files/tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ case ${CIRCLE_NODE_INDEX} in
3636
esac
3737

3838
# Put the artifacts in place
39-
bash docker/circleci/teardown.sh
39+
bash docker/files/teardown.sh
4040

4141
# Send coverage data to codecov.io
4242
curl -so codecov.io https://codecov.io/bash

0 commit comments

Comments
 (0)