From 240f3f28ea010c3baf92420ea0083a68f4bc1cbd Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Fri, 6 Apr 2018 22:17:22 +0200 Subject: [PATCH] update image generate --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33a829b..3978761 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,8 +44,7 @@ Linux server build: - mkdir -p /opt/ext - cp $WORKDIR/server/debian/common/servercontainer_init_* /opt/ - cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/ - - cp $WORKDIR/server/debian/common/servercontainer_configure_* /opt/ext - - cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/ext + - cp $WORKDIR/server/debian/common/* /opt/ext - cp $WORKDIR/server/debian/common/khaganat.cfg /opt/ext - echo -e 'export KHANAT_CLIENT_VERSION="1"\nexport UIDGAMESERVER=1000\nexport GIDGAMESERVER=1000\nexport DIRCLIENT="/opt/opennel_data"\nexport PACKAGECLIENT="smokey_linux64"' > /opt/khanat_config.sh - /opt/servercontainer_init_create_account.sh @@ -89,10 +88,9 @@ Linux server build: - su -c 'touch /home/gameserver/khanat/step_configure.ok' gameserver # Clean - rm -f /opt/servercontainer* - - rm -f /opt/ext/servercontainer* # Create image - mkdir -p out - - tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/home --exclude=/builds --exclude=/opt/download -cf out/debian_server.tar / + - tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download -cf out/debian_server.tar / - ls -lh out artifacts: name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"