Hashar has submitted this change and it was merged.

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(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Icd6b32a48a3ce01f87aa3c19d6bf477affd56444
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul-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

Reply via email to