increase retention for artefact & add information version

This commit is contained in:
AleaJactaEst 2018-07-06 22:44:59 +02:00
parent 556b3ef43e
commit f7d69f9ba1

View file

@ -96,6 +96,7 @@ Linux server build:
- rm -f /opt/servercontainer*
# Create image
- 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
- echo "option '$option'"
- 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"
paths:
- khanat-debian-server.tar.bz2
expire_in: 2 hour
expire_in: 2 week