aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-13 18:22:59 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-13 18:24:39 +0300
commit6426aefb16a888da76a416f75cf4af1966089d23 (patch)
tree9b0e3061acf8c24feed38631b692dd977ea6f470
parente322c665e02f7a0bf77d6f20f73a6709eda28af3 (diff)
downloadpleroma-6426aefb16a888da76a416f75cf4af1966089d23.tar.gz
Expire artifacts in 42 years
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
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: