Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/74124


Change subject: operations-dns-lint
......................................................................

operations-dns-lint

A job to lint gdnsd zone files. Experimental, that needs gdnsd to be
installed on the Jenkins slaves.

Change-Id: I95ee8f5590e210d11af453ef54fc6ff400bbc826
---
M operations-misc.yaml
1 file changed, 20 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/24/74124/1

diff --git a/operations-misc.yaml b/operations-misc.yaml
index d815293..00f5405 100644
--- a/operations-misc.yaml
+++ b/operations-misc.yaml
@@ -15,3 +15,23 @@
     gerrit-name: 'operations/dumps'
     jobs:
      - '{name}-pep8'
+
+- job-template:
+    name: 'operations-dns-lint'
+    defaults: use-zuul
+    triggers:
+     - zuul
+    builders:
+     - shell: |
+         # Prepare the zone files
+         mkdir -p "$WORKSPACE"/chroot/zones
+         authdns-gen-zones "$WORKSPACE"/templates "$WORKSPACE"/chroot/zones
+
+         # lint them
+         gdnsd -d "$WORKSPACE"
+
+- project:
+    name: 'operations-dns'
+    gerrit-name: 'operations/dns'
+    jobs:
+     - 'operations-dns-lint'

-- 
To view, visit https://gerrit.wikimedia.org/r/74124
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I95ee8f5590e210d11af453ef54fc6ff400bbc826
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to