From 04f8b65a8f280b35ba7a466f5eedc99798d9eafb Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Thu, 6 Feb 2020 15:53:36 +0100 Subject: [PATCH] Add respdiff job This job leverages respdiff test from the private bind-qa repo. --- .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4c93c855c..a4c73b7f40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1300,3 +1300,35 @@ build:coverity:sid:amd64: paths: - cov-analysis-linux64.md5 - cov-analysis-linux64.tgz + +# Respdiff test + +respdiff:sid:amd64: + <<: *debian_sid_amd64_image + stage: system + variables: + CC: gcc + CFLAGS: "${CFLAGS_COMMON} -O3" + BIND_BASELINE_VERSION: v9_11_3 + script: + - ./configure --without-make-clean + - ${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 + - git clone --branch "${BIND_BASELINE_VERSION}" --depth 1 https://gitlab.isc.org/isc-projects/bind9.git refbind + - cd refbind/ + - ./configure --without-make-clean + - ${MAKE} -j${BUILD_PARALLEL_JOBS:-1} V=1 + - 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}" + dependencies: + - tarball-create:sid:amd64 + needs: ["tarball-create:sid:amd64"] + only: + - tags + artifacts: + paths: + - refbind + untracked: true + expire_in: "1 day" + when: on_failure