Apply artifact expiration directly to jobs

Works around the issue with Gitlab CI not supporting the expire_in
property on the default job properties, as Steelt found.

https://gitlab.com/gitlab-org/gitlab/-/issues/404563
This commit is contained in:
Eidolon 2024-09-15 18:32:57 -05:00
parent 9eb605da9f
commit a4e7803f76
3 changed files with 4 additions and 2 deletions

View file

@ -15,5 +15,3 @@ stages:
default:
interruptible: true
artifacts:
expire_in: 1 day

View file

@ -19,6 +19,7 @@ Alpine 3 GCC:
- "build.alpine3/src/config.h"
expose_as: "Apline-3"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Apline-3"
expire_in: 1 day
before_script:
- - |

View file

@ -15,6 +15,9 @@
- build/apt-cache
unprotect: true
artifacts:
expire_in: 1 day
before_script:
- - |
# debconf