increase retention for artefact & add information version
This commit is contained in:
parent
556b3ef43e
commit
f7d69f9ba1
1 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,7 @@ Linux server build:
|
||||||
- rm -f /opt/servercontainer*
|
- rm -f /opt/servercontainer*
|
||||||
# Create image
|
# Create image
|
||||||
- option=""
|
- option=""
|
||||||
|
- echo "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" > /home/gameserver/version.txt
|
||||||
- for dir in /home/* ; do if [ $dir != '/home/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'"
|
- echo "option '$option'"
|
||||||
- find /home/gameserver -type d -exec du -sh {} \;
|
- find /home/gameserver -type d -exec du -sh {} \;
|
||||||
|
@ -105,5 +106,5 @@ Linux server build:
|
||||||
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"
|
||||||
paths:
|
paths:
|
||||||
- khanat-debian-server.tar.bz2
|
- khanat-debian-server.tar.bz2
|
||||||
expire_in: 2 hour
|
expire_in: 2 week
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue