]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Shorten artifact retention for docs:tarball job to one day
authorPetr Špaček <pspacek@isc.org>
Fri, 11 Mar 2022 09:09:57 +0000 (10:09 +0100)
committerPetr Špaček <pspacek@isc.org>
Fri, 11 Mar 2022 09:54:35 +0000 (10:54 +0100)
We now run both docs and docs:tarball jobs at the same time and keeping
artifacts for longer period of time is a waste.

Artifacts for docs job has to be kept for long period of time because
they are used by scripts behind bind.isc.org web site.

.gitlab-ci.yml

index bc3dd52b8430f02dafe13cffbd437f17a4e7c61f..727b2394a65680fc022bb149057927b045287cf0 100644 (file)
@@ -394,9 +394,6 @@ stages:
     - make -j${BUILD_PARALLEL_JOBS:-1} -k doc V=1
     - qpdf --check doc/arm/_build/latex/Bv9ARM.pdf
     - find doc/man/ -maxdepth 1 -name "*.[0-9]" -exec mandoc -T lint "{}" \; | ( ! grep -v -e "skipping paragraph macro. sp after" -e "unknown font, skipping request. ft C" )
-  artifacts:
-    untracked: true
-    expire_in: "1 month"
 
 ### Job Definitions
 
@@ -517,6 +514,7 @@ tarball-create:
       artifacts: true
 
 # Jobs for doc builds on Debian 11 "bullseye" (amd64)
+# Long "docs" job artifact retention is needed for bind.isc.org web site
 
 docs:
   <<: *release_branch_triggering_rules
@@ -527,6 +525,9 @@ docs:
   needs:
     - job: autoreconf
       artifacts: true
+  artifacts:
+    untracked: true
+    expire_in: "1 month"
 
 docs:tarball:
   <<: *default_triggering_rules