Merge branch 'pspacek/ci-no-developer-mode-v9_16' into 'v9_16'
Add CI job with --disable-developer [v9_16] See merge request isc-projects/bind9!6936
This commit is contained in:
@@ -644,7 +644,7 @@ gcc:oraclelinux9:amd64:
|
||||
variables:
|
||||
CC: gcc
|
||||
CFLAGS: "${CFLAGS_COMMON}"
|
||||
EXTRA_CONFIGURE: "--with-libidn2"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --disable-developer"
|
||||
<<: *oraclelinux_9_amd64_image
|
||||
<<: *build_job
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
SYSTEMTESTTOP="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
||||
if [ "$(id -u)" -eq "0" ] && ! ${NAMED} -V | grep -q -F -- "enable-developer"; then
|
||||
if [ "$CI_SERVER" != "yes" ] && [ "$(id -u)" -eq "0" ] && ! ${NAMED} -V | grep -q -F -- "enable-developer"; then
|
||||
echofail "Refusing to run test as root. Build with --enable-developer to override." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user