aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc6c59c..f16b19f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ variables:
- mkdir $CI_JOB_NAME
- for image in *.qcow2;
do
+ test -f "$image" || continue
virt-sysprep -a "$image";
virt-sparsify --inplace "$image";
info=${image%.qcow2}.info;
@@ -19,7 +20,7 @@ variables:
done
- xz --verbose $(ls *.tar *.qcow2)
- mv --verbose *.xz $CI_JOB_NAME
- - (cd $CI_JOB_NAME; for info in *.info; do ../scripts/make-index.sh $info; done)
+ - (cd $CI_JOB_NAME; for info in *.info; do test -f "$info" || continue; ../scripts/make-index.sh $info; done)
- name="$CI_JOB_NAME images"
- base="$CI_JOB_URL/artifacts/raw/$CI_JOB_NAME"
- tree -i -f -s -h -D --charset utf8 -T "$name" -H "$base" $CI_JOB_NAME > index.html