update image generate
This commit is contained in:
parent
032336794f
commit
240f3f28ea
1 changed files with 2 additions and 4 deletions
|
@ -44,8 +44,7 @@ Linux server build:
|
||||||
- mkdir -p /opt/ext
|
- mkdir -p /opt/ext
|
||||||
- cp $WORKDIR/server/debian/common/servercontainer_init_* /opt/
|
- cp $WORKDIR/server/debian/common/servercontainer_init_* /opt/
|
||||||
- cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/
|
- cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/
|
||||||
- cp $WORKDIR/server/debian/common/servercontainer_configure_* /opt/ext
|
- cp $WORKDIR/server/debian/common/* /opt/ext
|
||||||
- cp $WORKDIR/server/debian/common/servercontainer_function.sh /opt/ext
|
|
||||||
- cp $WORKDIR/server/debian/common/khaganat.cfg /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
|
- 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
|
- /opt/servercontainer_init_create_account.sh
|
||||||
|
@ -89,10 +88,9 @@ Linux server build:
|
||||||
- su -c 'touch /home/gameserver/khanat/step_configure.ok' gameserver
|
- su -c 'touch /home/gameserver/khanat/step_configure.ok' gameserver
|
||||||
# Clean
|
# Clean
|
||||||
- rm -f /opt/servercontainer*
|
- rm -f /opt/servercontainer*
|
||||||
- rm -f /opt/ext/servercontainer*
|
|
||||||
# Create image
|
# Create image
|
||||||
- mkdir -p out
|
- 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
|
- ls -lh out
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"
|
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"
|
||||||
|
|
Loading…
Reference in a new issue