From 299b8408c251062b320d74d242702d37309c6a92 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 30 Oct 2024 21:15:44 +0100 Subject: [PATCH] Fix paths to binaries in cross-version-config-tests job The cross-version-config-tests job has never functioned in CI because the testing framework changed after the testing was completed. To run the new "named" binary using the old configurations, paths in the test framework must be updated to point to the location of the new binaries. (cherry picked from commit 09d7e2430ac8ecfeb0fa049ece1befbd186978fd) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4645d8363c..78cd3750c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -748,7 +748,7 @@ cross-version-config-tests: # Run the setup phase of all system tests in the most recently tagged BIND 9 # release using the binaries built for the current BIND 9 version. This # intends to detect obvious backward compatibility issues with the latter. - - sed -i -E "s|(export TOP_BUILDDIR)=.*|\1=${CI_PROJECT_DIR}|" conf.sh + - sed -i "s|export \(.*\)=\$TOP_BUILDDIR|export \1=\$CI_PROJECT_DIR|" conf.sh - > "$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}" needs: