Expire artifacts in 42 years
authorrinpatch <rinpatch@sdf.org>
Thu, 13 Jun 2019 15:22:59 +0000 (18:22 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 13 Jun 2019 15:24:39 +0000 (18:24 +0300)
.gitlab-ci.yml

index 4e1148772d5758eabec18e28e6328cb31eb5f11c..75214e0b9dcb0d5716f70e6a0cb6e278cc14315a 100644 (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: