Skip to content

Commit f07707d

Browse files
author
kaczmarj
committed
fix: use gzip compression -6 instead of -1
The lowest amount of compression created a tar.gz file of over 5.0 GB. Persisting this to the CircleCI workspace did not show errors, however, tar.gz file in the next step of the workflow would be empty. This caused `docker load` to fail. More compression leads to a tar.gz file that is about 4.7 GB. This relatively smaller file can be loaded in the next step of the CircleCI workflow. In a future PR, the Nipype container will be minimized with ReproZip. This will create smaller containers and alleviate the issue that this commit aims to fix.
1 parent edaf222 commit f07707d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
docker save nipype/nipype:base \
137137
nipype/nipype:latest \
138138
nipype/nipype:py36 \
139-
nipype/nipype:py27 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz
139+
nipype/nipype:py27 | gzip -6 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz
140140
du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
141141
else
142142
# Workaround for `persist_to_workspace` to succeed when we are

0 commit comments

Comments
 (0)