Hashar has uploaded a new change for review.

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


Change subject: ops/puppet: lint ERB templates
......................................................................

ops/puppet: lint ERB templates

Experimental (non voting) linting of ERB templates. Only triggers when a
change introduce a file ending with \.erb.

bug: 42377
Change-Id: Icd6b32a48a3ce01f87aa3c19d6bf477affd56444
---
M layout.yaml
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/zuul-config 
refs/changes/63/60863/1

diff --git a/layout.yaml b/layout.yaml
index ef8f6d2..baa13fb 100644
--- a/layout.yaml
+++ b/layout.yaml
@@ -230,6 +230,11 @@
   # General
   #
 
+  - name: ^.*-erblint-HEAD$
+    voting: false
+    files:
+     - '^.*\.erb$'
+
   - name: ^.*-jslint$
     # Non-voting by default (most projects do not pass yet)
     voting: false
@@ -670,6 +675,7 @@
   - name: operations/puppet
     # Only lint on submission for now, that will be voting
     check-voter:
+      - operations-puppet-erblint-HEAD
       - operations-puppet-pep8
       - operations-puppet-typos
       - operations-puppet-validate

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd6b32a48a3ce01f87aa3c19d6bf477affd56444
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to