]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add a DNSRPS-enabled build to regular CI pipelines
authorMichał Kępień <michal@isc.org>
Tue, 28 Feb 2023 11:54:02 +0000 (12:54 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 28 Feb 2023 11:54:02 +0000 (12:54 +0100)
DNSRPS-enabled builds have recently been silently broken a few times due
to that feature not being tested in regular CI pipelines.  Add the
--enable-dnsrps --enable-dnsrps-dl switches to the ./configure
invocation in one of the CI jobs run for all merge requests so that
DNSRPS-related build issues can be detected in advance.

It is important to note that this change by itself does NOT enable
actual testing of the DNSRPS feature as doing that requires a DNSRPS
provider library to be present on the test host.

.gitlab-ci.yml

index 3d07ff7d65ee02a3d0a0dbb0f7f2ab4d6d2ffd57..8007ccad9b27b760a9e8cc93125994e2832054ba 100644 (file)
@@ -885,7 +885,15 @@ gcc:tumbleweed:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} -DDEBUG"
-    EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_READLINE}"
+    # NOTE: Testing DNSRPS-enabled builds currently requires an
+    # operating system with glibc 2.34+.  This requirement will go away
+    # once the DNSRPS dynamic loading code gets reworked to use libuv's
+    # dlopen() API.
+    #
+    # NOTE: This does *not* enable testing of the DNSRPS feature itself.
+    # Doing that requires a DNSRPS provider library to be present on the
+    # test host.
+    EXTRA_CONFIGURE: "--enable-dnsrps --enable-dnsrps-dl --with-libidn2 ${WITH_READLINE_READLINE}"
   <<: *tumbleweed_latest_amd64_image
   <<: *build_job