]> 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:57:41 +0000 (12:57 +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.

(cherry picked from commit a4d6f5f6fdf2cee7a362f26566b2d33a687726b4)

.gitlab-ci.yml

index 174544be74f457489534482c4ef43c1a9ff1f442..9a2c10bb57b716c407a497ced23c95ef4a0c7706 100644 (file)
@@ -923,7 +923,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