Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/196479
Change subject: Create generic perllint job and use it
......................................................................
Create generic perllint job and use it
Change-Id: Ia595ea9a33c717fdf12beee8ffb2ec5311276f6f
---
M jjb/job-templates.yaml
M jjb/mediawiki-extensions.yaml
M tests/test_zuul_layout.py
M zuul/layout.yaml
4 files changed, 7 insertions(+), 12 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/config
refs/changes/79/196479/1
diff --git a/jjb/job-templates.yaml b/jjb/job-templates.yaml
index 60c5f18..9977fec 100644
--- a/jjb/job-templates.yaml
+++ b/jjb/job-templates.yaml
@@ -136,10 +136,10 @@
builders:
- pplint-HEAD
-- job-template:
- name: '{name}-perllint'
+- job:
+ name: 'perllint'
node: hasSlaveScripts && UbuntuPrecise
- defaults: use-remote-zuul-no-submodules
+ defaults: use-remote-zuul-shallow-clone
concurrent: true
triggers:
- zuul
diff --git a/jjb/mediawiki-extensions.yaml b/jjb/mediawiki-extensions.yaml
index 79a7df9..b6f8647 100644
--- a/jjb/mediawiki-extensions.yaml
+++ b/jjb/mediawiki-extensions.yaml
@@ -1330,11 +1330,6 @@
- python-jobs
- project:
- name: 'mwext-timeline'
- jobs:
- - '{name}-perllint'
-
-- project:
name: 'mwext-Translate'
jobs:
- '{name}-phpcs-HEAD'
diff --git a/tests/test_zuul_layout.py b/tests/test_zuul_layout.py
index 7a48b7c..8841f2a 100644
--- a/tests/test_zuul_layout.py
+++ b/tests/test_zuul_layout.py
@@ -170,7 +170,7 @@
actual = {}
# List of jobs allowed in check* pipelines
safe_jobs = [
- 'phplint',
+ '(php|perl)lint',
'.*-(js|perl|shell|yaml|php|)lint',
'(pp|erb)lint-HEAD',
'.*-(tabs|typos)',
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index a4c8bfe..124e862 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -1651,7 +1651,7 @@
files:
- '^.*\.py$'
- - name: ^.*-perllint$
+ - name: ^perllint$
files:
- '^.*\.(pl|pm)$'
@@ -5731,12 +5731,12 @@
- name: mediawiki/extensions/timeline
check-only:
- phplint
- - mwext-timeline-perllint
+ - perllint
- php-composer-validate
gate-and-submit:
- mediawiki-gate
- phplint
- - mwext-timeline-perllint
+ - perllint
- php-composer-validate
- name: mediawiki/extensions/TitleBlacklist
--
To view, visit https://gerrit.wikimedia.org/r/196479
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia595ea9a33c717fdf12beee8ffb2ec5311276f6f
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits