jenkins-bot has submitted this change and it was merged.
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, 19 insertions(+), 0 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/operations-misc.yaml b/operations-misc.yaml
index 8fda61c..192ac30 100644
--- a/operations-misc.yaml
+++ b/operations-misc.yaml
@@ -12,3 +12,22 @@
name: 'operations-dumps'
jobs:
- python-jobs
+
+- 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'
+ jobs:
+ - 'operations-dns-lint'
--
To view, visit https://gerrit.wikimedia.org/r/74124
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I95ee8f5590e210d11af453ef54fc6ff400bbc826
Gerrit-PatchSet: 3
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits