]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Extend artifact lifetime for Cloudsmith build jobs
authorMichał Kępień <michal@isc.org>
Wed, 25 Mar 2026 17:09:02 +0000 (18:09 +0100)
committerMichał Kępień (GitLab job 7091315) <michal@isc.org>
Wed, 25 Mar 2026 17:13:48 +0000 (17:13 +0000)
The commit.txt file produced by each Cloudsmith build job is required to
run the corresponding publication job.  Therefore, the artifact lifetime
for the former must be long enough to prevent the file from expiring
before the publication job is run.  Set the lifetime of the artifacts
created by Cloudsmith build jobs to one month to ensure that the
publication jobs can access them.

(cherry picked from commit ce09f8d0f8fc9053ac4806f2231ee9625a9ed473)

.gitlab-ci.yml

index c80040bfaa70a5a147bfa2b2b49ee13c8557084d..f59a1774a618a27ce5f3c593cdda7f464a16abcf 100644 (file)
@@ -2090,6 +2090,7 @@ rpms-cloudsmith-build:
   artifacts:
     paths:
       - commit.txt
+    expire_in: "1 month"
 
 rpms-cloudsmith-build-private:
   <<: *rpm_build_job_private
@@ -2100,6 +2101,7 @@ rpms-cloudsmith-build-private:
   artifacts:
     paths:
       - commit.txt
+    expire_in: "1 month"
 
 # Publish Cloudsmith packages