From 6426aefb16a888da76a416f75cf4af1966089d23 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Thu, 13 Jun 2019 18:22:59 +0300 Subject: [PATCH] Expire artifacts in 42 years --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e1148772..75214e0b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,6 +157,12 @@ amd64: name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" paths: - release/* + # Ideally it would be never for master branch and with the next commit for develop, + # but Gitlab does not support neither `only` for artifacts + # nor setting it to never from .gitlab-ci.yml + # nor expiring with the next commit + expire_in: 42 yrs + cache: &release-cache key: $CI_COMMIT_REF_NAME-$CI_JOB_NAME paths: -- 2.45.2