Expire artifacts in 42 years

This commit is contained in:
rinpatch 2019-06-13 18:22:59 +03:00
parent e322c665e0
commit 6426aefb16
1 changed files with 6 additions and 0 deletions

View File

@ -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: