disable verbose logging for tar

This commit is contained in:
Denys Vuika
2020-08-18 12:17:49 +01:00
parent 84ad0028ba
commit 17718a5db9
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ fi
test ! -d $OUTPUT && mkdir -p $OUTPUT test ! -d $OUTPUT && mkdir -p $OUTPUT
aws s3 cp $ARTIFACT ./s3-artifact.tmp aws s3 cp $ARTIFACT ./s3-artifact.tmp
echo 'artifact download done' echo 'artifact download done'
tar -xvf ./s3-artifact.tmp -C $OUTPUT >&/dev/null tar -xf ./s3-artifact.tmp -C $OUTPUT >&/dev/null
echo 'tar the artifact done' echo 'tar the artifact done'
rm ./s3-artifact.tmp rm ./s3-artifact.tmp
echo 'remove tmp file' echo 'remove tmp file'

View File

@@ -22,6 +22,6 @@ then
exit 1 exit 1
fi fi
tar cvfj ./s3-artifact.tmp -C $ARTIFACT >&/dev/null tar cfj ./s3-artifact.tmp -C $ARTIFACT >&/dev/null
aws s3 cp ./s3-artifact.tmp $OUTPUT aws s3 cp ./s3-artifact.tmp $OUTPUT
rm ./s3-artifact.tmp rm ./s3-artifact.tmp