include data gameserver
This commit is contained in:
parent
e4e3bd2039
commit
35d247f603
1 changed files with 3 additions and 2 deletions
|
@ -91,13 +91,14 @@ Linux server build:
|
|||
# Create image
|
||||
- mkdir -p out
|
||||
- option=""
|
||||
- for dir in /home/* ; do if [ $dir != 'gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done
|
||||
- for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done
|
||||
- echo "option '$option'"
|
||||
- du -sh /home/gameserver
|
||||
- tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download $option -cf out/debian_server.tar /
|
||||
- ls -lh out
|
||||
artifacts:
|
||||
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"
|
||||
paths:
|
||||
- out
|
||||
expire_in: 2 day
|
||||
expire_in: 2 hour
|
||||
|
||||
|
|
Loading…
Reference in a new issue