]> granicus.if.org Git - pdns/commitdiff
Build and test mydns
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 11 Apr 2019 09:45:10 +0000 (11:45 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 6 May 2019 15:13:17 +0000 (17:13 +0200)
.circleci/config.yml

index 7b49b950af57060a047caa3ad3bfb60f13950500..0936946cf4fb427e63cad54209ccba670530e1c9 100644 (file)
@@ -269,7 +269,7 @@ jobs:
             CXXFLAGS="-O1 -Werror=vla" \
             ./configure \
               --disable-lua-records \
-              --with-modules='bind lmdb ldap gmysql gsqlite3 gpgsql godbc random' \
+              --with-modules='bind lmdb ldap gmysql gsqlite3 gpgsql godbc mydns random' \
               --enable-tools \
               --with-lmdb=/usr \
               --prefix=/opt/pdns-auth
@@ -423,6 +423,24 @@ jobs:
       - auth-regress:
           context: bind-hybrid-nsec3
 
+  test-auth-regress-mydns:
+    docker:
+      - image: debian:stretch
+      - image: circleci/mysql:5
+    steps:
+      - auth-regress-setup
+      - run:
+          command: apt-get install -qq -y default-mysql-client
+      - run:
+          command: |
+            cat >> ~/.my.cnf \<<- __EOF__
+             [client]
+             protocol=TCP
+            __EOF__
+      - auth-regress:
+          context: mydns
+          doroot: false
+
   test-auth-regress-gmysql:
     docker:
       - image: debian:stretch
@@ -699,6 +717,9 @@ workflows:
       - test-auth-regress-gmysql:
           requires:
             - build-auth
+      - test-auth-regress-mydns:
+          requires:
+            - build-auth
       - test-auth-regress-bind:
           requires:
             - build-auth