diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5dc1abd..1b2313a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,11 +99,11 @@ Linux server build: - 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 {} \; - - tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download --exclude=khanat-debian-server.tar.gz $option -cjf khanat-debian-server.tar.gz / - - ls -lh 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.* artifacts: name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" paths: - - khanat-debian-server.tar.gz + - khanat-debian-server.tar.bz2 expire_in: 2 hour diff --git a/server/common/rootweb/index.php b/server/common/rootweb/index.php index 2292038..37837bc 100644 --- a/server/common/rootweb/index.php +++ b/server/common/rootweb/index.php @@ -86,6 +86,7 @@ print "SERVER IP: ". getHostByName(gethostname());