Skip to content
Snippets Groups Projects
Commit e386d7b6 authored by Arnaud Ferraris's avatar Arnaud Ferraris
Browse files

gitlab-ci: make sure artifacts aren't kept longer than needed


Not having an expiration delay for artifacts takes up valuable disk
space, which is not necessary. Making all artifacts expire after 24h
ensures we avoid that situation.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
parent 947206ea
No related branches found
No related tags found
1 merge request!17Enable automatic ED25519 signatures
Pipeline #329491 canceled
......@@ -46,6 +46,7 @@ prepare-build-env:
- echo "SDK_ID=$SDK_ID" | tee -a build.env
- echo "APP_ID=$APP_ID" | tee -a build.env
artifacts:
expire_in: 1d
reports:
dotenv:
- build.env
......@@ -94,6 +95,7 @@ prepare-build-env:
- /opt/apertis-flatdeb/run.py --build-area=$(pwd)/flatdeb-builddir --ostree-repo=$(pwd)/flatdeb-builddir/ostree-repo
--suite=${APERTIS_RELEASE} --arch=${architecture} base
artifacts:
expire_in: 1d
paths:
- flatdeb-builddir/base-${APERTIS_RELEASE}-${architecture}.tar.gz
......@@ -108,6 +110,7 @@ prepare-build-env:
- /opt/apertis-flatdeb/run.py --build-area=$(pwd)/flatdeb-builddir --ostree-repo=$(pwd)/flatdeb-builddir/ostree-repo
--suite=${APERTIS_RELEASE} --arch=${architecture} ${SIGN_ARGS} --sdk runtimes runtimes/org.apertis.demo.yaml
artifacts:
expire_in: 1d
paths:
- flatdeb-builddir/ostree-repo
......@@ -124,6 +127,7 @@ prepare-build-env:
- /opt/apertis-flatdeb/run.py --build-area=$(pwd)/flatdeb-builddir --ostree-repo=$(pwd)/flatdeb-builddir/ostree-repo
--suite=${APERTIS_RELEASE} --arch=${architecture} ${SIGN_ARGS} app --app-branch=${APERTIS_RELEASE} apps/org.apertis.demo.gnome-font-viewer.yaml
artifacts:
expire_in: 1d
paths:
- flatdeb-builddir/ostree-repo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment