Extend artifact lifetime for Cloudsmith build jobs

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 ce09f8d0f8)
This commit is contained in:
Michał Kępień 2026-03-25 18:09:02 +01:00 committed by Michał Kępień (GitLab job 7091315)
parent ae7b9384fa
commit d99835fffb

View 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