From b1e8c96069abab06d0e18f85f789674d53364e37 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Thu, 28 Jun 2018 11:32:39 +0200 Subject: [PATCH] update referential artefact client --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c500b6..a2b37a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,10 @@ Linux server build: - (cd /opt/download ; $WORKDIR/server/common/download_artefacts.sh 'https://git.khaganat.net' 'khaganat' 'mmorpg_khanat/khanat-opennel-code' $CI_COMMIT_REF_NAME 'develop' 'master') - (cd /opt/download ; $WORKDIR/server/common/download_artefacts.sh 'https://git.khaganat.net' 'khaganat' 'mmorpg_khanat/opennel-pymanager' $CI_COMMIT_REF_NAME 'develop' 'master') - ls -l /opt/download + - mkdir -p /opt/artefacts + - (cd /opt/artefacts ; for file in /opt/download/khanat-server-debian_strech*.zip ; do echo "extract $file"; unzip -q -o $file; done) + - (cd /opt/artefacts ; for file in /opt/download/khanat-client_static-debian_amd64_strech*.zip ; do echo "extract $file"; unzip -q -o $file; done) + - (cd /opt/artefacts ; for file in /opt/download/khanat-*pymanager*.zip ; do echo "extract $file"; unzip -q -o $file; done) - mkdir -p /opt/ext - cp $WORKDIR/server/debian/common/servercontainer_init_* /opt/ - cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/ @@ -69,10 +73,6 @@ Linux server build: - export -p HOME_CLIENT="$KHANAT_HOME/$CLIENT_DIR" - echo "KHANAT_PATH $KHANAT_PATH" - mkdir -p $KHANAT_PATH - - mkdir -p /opt/artefacts - - (cd /opt/artefacts ; for file in /opt/download/khanat-server-debian_strech*.zip ; do echo "extract $file"; unzip -q -o $file; done) - - (cd /opt/artefacts ; for file in /opt/download/khanat-client_static-debian_strech*.zip ; do echo "extract $file"; unzip -q -o $file; done) - - (cd /opt/artefacts ; for file in /opt/download/khanat-*pymanager*.zip ; do echo "extract $file"; unzip -q -o $file; done) - mkdir -p /home/gameserver/ext - ln -s /opt/artefacts/code/web /home/gameserver/ext/khanatweb - ln -s /opt/artefacts/code/ryzom /home/gameserver/ext/ryzom-ressources