]> 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 14:32:52 +0000 (15:32 +0100)
Commit 9aa1c580 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
45d59c50 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.

(cherry picked from commit 87578efc718e84d0dfaf2553f00b2f3ba1c5ad3e)

.gitlab-ci.yml

index bc94219794fe7539aceea51ab54767891d7f0905..670fb24d3f534976431b2fa131207470fcada403 100644 (file)
@@ -1427,6 +1427,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
@@ -1452,6 +1453,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