]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
More strict secpoll check; hope I got the yaml quoting right
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 25 Oct 2021 12:33:45 +0000 (14:33 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 15 Nov 2021 13:05:30 +0000 (14:05 +0100)
.github/workflows/secpoll.yml

index 7eba7479186f6f23c455c3762a147bce3abf263a..65a947dd069e7c0e1b485242b0628a8112452119 100644 (file)
@@ -15,6 +15,7 @@ jobs:
         with:
           fetch-depth: 5
           submodules: recursive
+      - run: '! egrep -v \'^(@|;|$)\' docs/secpoll.zone | egrep -v \'(auth|recursor|dnsdist)-[0-9]\.[0-9]\.[0-9](-(alpha|beta|rc)[0-9]+)?[-_a-z0-9\.]*\.security-status +60 IN TXT "[1-3] .*"\''
       - run: echo 'deb [arch=amd64] http://repo.powerdns.com/ubuntu focal-auth-master main' | sudo tee /etc/apt/sources.list.d/pdns.list
       - run: "echo -ne 'Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n' | sudo tee /etc/apt/preferences.d/pdns"
       - run: sudo curl https://repo.powerdns.com/CBC8B383-pub.asc -o /etc/apt/trusted.gpg.d/CBC8B383-pub.asc