From f7d69f9ba147b4b55fa9c952752757745a1b12b8 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Fri, 6 Jul 2018 22:44:59 +0200 Subject: [PATCH] increase retention for artefact & add information version --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b2313a..98e2a38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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