From 9a6e8b9190990c81dadbb5bb7e5bf1ed60aaad8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Fri, 27 Jun 2025 19:42:26 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98818b9d07..45dfec6c38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1584,6 +1584,33 @@ respdiff-third-party: - bash respdiff.sh -s third_party -q "${PWD}/100k_mixed.txt" -c 1 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" - cd ../.. && ninja -C build 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 + - mv build version-under-test/ + - BASELINE=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-$BIND_BASELINE_VERSION} + - git fetch --unshallow origin ${BASELINE} + - git checkout FETCH_HEAD + - *configure + - meson compile -C build + - 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}/build/named" + +respdiff:recent-named: + <<: *respdiff_recent_named + variables: + CC: gcc + CFLAGS: "${CFLAGS_COMMON} -DISC_TRACK_PTHREADS_OBJECTS" + EXTRA_CONFIGURE: "-Doptimization=g" + MAX_DISAGREEMENTS_PERCENTAGE: "0.3" + # Performance tests shotgun:udp: