mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-04 18:42:04 -04:00
[9.20] new: ci: Run an additional respdiff job for merge requests and schedules
On MRs it uses the merge target as the reference. In schedules it uses the latest released version for this branch as the reference. This MR lays the ground work for using respdiff on non-standard configurations (like ECS) in the public repo, see https://gitlab.isc.org/isc-private/bind9/-/merge_requests/807#note_573140. To reduce the future hassle when maintaining the -S version, most of the work (including an added job, so we know that it actually works) is done here. Backport of MR !10664 Merge branch 'backport-stepan/respdiff-against-merge-target-or-last-release-9.20' into 'bind-9.20' See merge request isc-projects/bind9!10696
This commit is contained in:
commit
23f48d1781
1 changed files with 27 additions and 0 deletions
|
|
@ -1742,6 +1742,33 @@ respdiff-third-party:
|
|||
- bash respdiff.sh -s third_party -q "${PWD}/100k_mixed.txt" -c 1 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}"
|
||||
- cd ../.. && make clean >/dev/null 2>&1
|
||||
|
||||
.respdiff-recent-named: &respdiff_recent_named
|
||||
<<: *respdiff_job
|
||||
<<: *debian_bookworm_amd64_image
|
||||
<<: *default_triggering_rules
|
||||
needs:
|
||||
- job: ci-variables
|
||||
artifacts: true
|
||||
script:
|
||||
- cd ${CI_PROJECT_DIR}
|
||||
- mkdir version-under-test
|
||||
- cp -ar bin version-under-test/
|
||||
- BASELINE=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-$BIND_BASELINE_VERSION}
|
||||
- git fetch --unshallow origin ${BASELINE}
|
||||
- git checkout FETCH_HEAD
|
||||
- autoreconf -fi
|
||||
- *configure
|
||||
- make -j${BUILD_PARALLEL_JOBS:-1} V=1
|
||||
- cd bind9-qa/respdiff
|
||||
- bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}/version-under-test" "${CI_PROJECT_DIR}/bin/named/named"
|
||||
|
||||
respdiff:recent-named:
|
||||
<<: *respdiff_recent_named
|
||||
variables:
|
||||
CC: gcc
|
||||
CFLAGS: "${CFLAGS_COMMON} -Og -DISC_TRACK_PTHREADS_OBJECTS"
|
||||
MAX_DISAGREEMENTS_PERCENTAGE: "0.3"
|
||||
|
||||
# Performance tests
|
||||
|
||||
shotgun:udp:
|
||||
|
|
|
|||
Loading…
Reference in a new issue