compress artefacts

This commit is contained in:
AleaJactaEst 2018-04-07 12:37:29 +02:00
parent 35d247f603
commit 24ced301ef

View file

@ -94,7 +94,7 @@ Linux server build:
- for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done
- echo "option '$option'"
- du -sh /home/gameserver
- tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download $option -cf out/debian_server.tar /
- tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download $option -cjf out/debian_server.tar /
- ls -lh out
artifacts:
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"