From db40e5037d22e81db3bace003624b92869cb447b Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Tue, 10 Jul 2018 21:18:20 +0200 Subject: [PATCH] list all file in /opt --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bad051..c34740c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,7 +99,8 @@ Linux server build: - echo "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" > /home/gameserver/version.txt - for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done - echo "option '$option'" - - find /home/gameserver -type d -exec du -sh {} \; + #- find /home/gameserver -type d -exec du -sh {} \; + - find /opt -type d -exec du -sh {} \; - tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download --exclude=khanat-debian-server.tar.gz $option -czf khanat-debian-server.tar.gz / - ls -lh khanat-debian-server.* artifacts: