]> 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:19:56 +0000 (15:19 +0100)
Commit e8d8b43e 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
704eeb32 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 ade6455e876960f5eb8a6ca86adc64b1cab1461d..406e81d3af4f19ca532575766432d99865e112e1 100644 (file)
@@ -1357,6 +1357,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
@@ -1382,6 +1383,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