]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Execute respdiff jobs out-of-order
authorMichal Nowak <mnowak@isc.org>
Wed, 22 Dec 2021 10:14:56 +0000 (11:14 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 22 Dec 2021 13:44:51 +0000 (14:44 +0100)
Commit 2ececf2c dropped dependency of "respdiff" and
"respdiff-third-party" jobs on "tarball-create" job because these jobs
don't need to depend on in (e.g., for its artifacts). This, however,
caused that respdiff jobs weren't started out-of-order and artifacts
from all the "Build" stage jobs plus "unit:gcc:buster:amd64" job were
downloaded to project directory and caused problems with compilation:

Originally, the dependency on "tarball-create" has been added in
04f8b65a to indicate that respdiff "is meant to operate on two different
BIND versions". It seems that the intent didn't work out, and we better
make it obvious that respdiff jobs don't depend on any other job and
should be run out-of-order.

.gitlab-ci.yml

index 9e25c63b118e233037379ed2ebcdce5593df653f..abb0e64ff63c28cd789f7db9f26d6a7dbab16ff7 100644 (file)
@@ -1234,6 +1234,7 @@ respdiff:
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - cd ../bind-qa/bind9/respdiff
     - bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "${CI_PROJECT_DIR}/refserver"
+  needs: []
   artifacts:
     paths:
       - refserver
@@ -1260,6 +1261,7 @@ respdiff-third-party:
     - git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git
     - cd bind-qa/bind9/respdiff
     - bash respdiff.sh -s third_party -q "${PWD}/100k_mixed.txt" -c 1 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}"
+  needs: []
   artifacts:
     paths:
       - bind-qa/bind9/respdiff