mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Add respdiff job with third-party recursors
The order of directories with reference and test BIND 9 are now reversed for respdiff.sh. Drop unnecessary dependency on the tarball-create job. The data.mdb file has more than 10 GB and makes artifact download take an unnecessarily long time.
This commit is contained in:
@@ -1237,7 +1237,7 @@ coverity:
|
|||||||
- cov-analysis-linux64.md5
|
- cov-analysis-linux64.md5
|
||||||
- cov-analysis-linux64.tgz
|
- cov-analysis-linux64.tgz
|
||||||
|
|
||||||
# Respdiff test
|
# Respdiff tests
|
||||||
|
|
||||||
respdiff:
|
respdiff:
|
||||||
<<: *base_image
|
<<: *base_image
|
||||||
@@ -1254,19 +1254,43 @@ respdiff:
|
|||||||
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
||||||
- *setup_interfaces
|
- *setup_interfaces
|
||||||
- git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git
|
- git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git
|
||||||
- git clone --branch "${BIND_BASELINE_VERSION}" --depth 1 https://gitlab.isc.org/isc-projects/bind9.git refbind
|
- git clone --branch "${BIND_BASELINE_VERSION}" --depth 1 https://gitlab.isc.org/isc-projects/bind9.git refserver
|
||||||
- cd refbind/
|
- cd refserver/
|
||||||
- ./configure
|
- ./configure
|
||||||
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
||||||
- cd ../bind-qa/bind9/respdiff
|
- cd ../bind-qa/bind9/respdiff
|
||||||
- bash respdiff.sh -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}/refbind" "${CI_PROJECT_DIR}"
|
- bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "${CI_PROJECT_DIR}/refserver"
|
||||||
needs:
|
|
||||||
- job: tarball-create
|
|
||||||
artifacts: true
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- refbind
|
- refserver
|
||||||
- bind-qa/bind9/respdiff
|
- bind-qa/bind9/respdiff
|
||||||
|
exclude:
|
||||||
|
- bind-qa/bind9/respdiff/rspworkdir/data.mdb # Exclude a 10 GB file.
|
||||||
|
untracked: true
|
||||||
|
expire_in: "1 day"
|
||||||
|
when: always
|
||||||
|
|
||||||
|
respdiff-third-party:
|
||||||
|
<<: *base_image
|
||||||
|
<<: *schedules_tags_web_triggering_rules
|
||||||
|
stage: system
|
||||||
|
variables:
|
||||||
|
CC: gcc
|
||||||
|
CFLAGS: "${CFLAGS_COMMON} -Og"
|
||||||
|
MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
|
||||||
|
script:
|
||||||
|
- autoreconf -fi
|
||||||
|
- ./configure
|
||||||
|
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
||||||
|
- *setup_interfaces
|
||||||
|
- 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}"
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- bind-qa/bind9/respdiff
|
||||||
|
exclude:
|
||||||
|
- bind-qa/bind9/respdiff/rspworkdir/data.mdb # Exclude a 10 GB file.
|
||||||
untracked: true
|
untracked: true
|
||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
when: always
|
when: always
|
||||||
|
Reference in New Issue
Block a user