From: rinpatch Date: Thu, 13 Jun 2019 15:22:59 +0000 (+0300) Subject: Expire artifacts in 42 years X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6426aefb16a888da76a416f75cf4af1966089d23;p=akkoma Expire artifacts in 42 years --- 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: