list all file in /opt
This commit is contained in:
parent
0a120502a3
commit
db40e5037d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
- 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
|
- for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done
|
||||||
- echo "option '$option'"
|
- 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 /
|
- 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.*
|
- ls -lh khanat-debian-server.*
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue