[gimp] gitlab-ci: expire the Windows installer artifact after a week.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] gitlab-ci: expire the Windows installer artifact after a week.
- Date: Fri, 28 May 2021 11:11:51 +0000 (UTC)
commit 85dd69dc88f03e55891b42565752dc37a5915f85
Author: Jehan <jehan girinstud io>
Date: Fri May 28 13:06:50 2021 +0200
gitlab-ci: expire the Windows installer artifact after a week.
Currently we run the job on a weekly schedule. If we keep a retention
period of 2 days, it means that people will not have access to a nightly
Windows installer 5 days out of 7, which is not useful.
Gitlab has a retention policy not to delete artifacts for last jobs, but
it apparently actually bases this check on being the last pipeline, not
being actually the last job of a given name. Since we have pipelines
running all the time, this retention policy just won't apply to our
installer job which will get deleted.
Cf. https://gitlab.com/gitlab-org/gitlab/-/issues/332142
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57ab61fe78..d6a6aad330 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -623,7 +623,7 @@ win-installer-nightly:
artifacts:
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_SLUG}"
when: always
- expire_in: 2 days
+ expire_in: 1 week
paths:
- build/windows/installer/_Output
- installer.log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]