download opennel-pymanager & use global script to configure khanat

This commit is contained in:
AleaJactaEst 2018-04-11 22:55:54 +02:00
parent c8042df2fa
commit 446eaa8b12

View file

@ -41,6 +41,7 @@ Linux server build:
- mkdir -p /opt/download
- export -p DIR_ARTEFACTS="/opt/download"
- (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')
- mkdir -p /opt/ext
- cp $WORKDIR/server/debian/common/servercontainer_init_* /opt/
- cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/
@ -78,14 +79,15 @@ Linux server build:
- for file in /opt/artefacts/code/build/bin/* ; do ln -s $file /usr/local/bin ; done
- for file in /opt/artefacts/code/build/lib/* ; do ln -s $file /usr/local/lib ; done
- ldconfig
- /opt/ext/servercontainer_configure_link.sh
- /opt/ext/servercontainer_configure_mysql.sh -d
- /opt/ext/servercontainer_configure_apache.sh
- /opt/ext/servercontainer_configure_world.sh
- su -c '/opt/ext/servercontainer_configure_khanat.sh' gameserver
- su -c '/opt/ext/servercontainer_configure_patch.sh' gameserver
- su -c '/opt/ext/servercontainer_configure_launcher.sh' gameserver
- su -c 'touch /home/gameserver/khanat/step_configure.ok' gameserver
#- /opt/ext/servercontainer_configure_link.sh
#- /opt/ext/servercontainer_configure_mysql.sh
#- /opt/ext/servercontainer_configure_apache.sh
#- /opt/ext/servercontainer_configure_world.sh
#- su -c '/opt/ext/servercontainer_configure_khanat.sh' gameserver
#- su -c '/opt/ext/servercontainer_configure_patch.sh' gameserver
#- su -c '/opt/ext/servercontainer_configure_launcher.sh' gameserver
#- su -c 'touch /home/gameserver/khanat/step_configure.ok' gameserver
- /opt/ext/servercontainer_configure_auto.sh
# Clean
- rm -f /opt/servercontainer*
# Create image