[MediaWiki-commits] [Gerrit] Migrate pywikibot/* tox jobs from Trusty to Jessie - change (integration/config)

2015-09-25 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Migrate pywikibot/* tox jobs from Trusty to Jessie
..


Migrate pywikibot/* tox jobs from Trusty to Jessie

And to Nodepool instances in the process.  We used Trusty which has
python3.4. Nodepool instances have it as well.

Introduce JJB template '{name}-tox-{toxenv}-jessie', tied to Nodepool.

Delete:
pywikibot-core-tox-flake8-docstrings-mandatory-trusty
pywikibot-core-tox-flake8-docstrings-trusty
pywikibot-core-tox-flake8-py3-trusty
pywikibot-core-tox-nose-trusty
pywikibot-core-tox-nose34-trusty
pywikibot-wikibase-tox-flake8-py3-trusty
pywikibot-wikibase-tox-nose-trusty
pywikibot-wikibase-tox-nose34-trusty

Create:
pywikibot-core-tox-flake8-docstrings-jessie
pywikibot-core-tox-flake8-docstrings-mandatory-jessie
pywikibot-core-tox-flake8-py3-jessie
pywikibot-core-tox-nose-jessie
pywikibot-core-tox-nose34-jessie
pywikibot-wikibase-tox-flake8-py3-jessie
pywikibot-wikibase-tox-nose-jessie
pywikibot-wikibase-tox-nose34-jessie

Adjust Zuul triggers.

Change-Id: I386f0bd8620c6eb536a0608b265972f6bf770fea
---
M jjb/python-jobs.yaml
M jjb/pywikibot.yaml
M zuul/layout.yaml
3 files changed, 34 insertions(+), 14 deletions(-)

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



diff --git a/jjb/python-jobs.yaml b/jjb/python-jobs.yaml
index 6a925c7..1088e10 100644
--- a/jjb/python-jobs.yaml
+++ b/jjb/python-jobs.yaml
@@ -18,6 +18,22 @@
 publishers:
  - archive-log-dir
 
+- job-template:
+name: '{name}-tox-{toxenv}-jessie'
+node: ci-jessie-wikimedia
+defaults: use-remoteonly-zuul
+concurrent: true
+properties:
+ - zeromq-event
+triggers:
+ - zuul
+builders:
+ - tox:
+ venv: '{toxenv}'
+publishers:
+ - archive-log-dir
+
+
 # Generic version of above.
 - job-template:
 name: 'tox-{toxenv}'
diff --git a/jjb/pywikibot.yaml b/jjb/pywikibot.yaml
index 448d987..9893acc 100644
--- a/jjb/pywikibot.yaml
+++ b/jjb/pywikibot.yaml
@@ -14,18 +14,18 @@
 - project:
 name: pywikibot-core
 toxenv:
- - flake8-py3  # must only trigger the '-trusty' version
+ - flake8-py3  # must only trigger the '-jessie' version
  - flake8-docstrings
  - flake8-docstrings-mandatory
  - nose
- - nose34  # must only trigger the '-trusty' version
+ - nose34  # must only trigger the '-jessie' version
 
 jobs:
  - '{name}-tox-doc-publish':
 docsrc: 'docs/_build/html'
 docdest: 'pywikibot'
  - '{name}-tox-{toxenv}'
- - '{name}-tox-{toxenv}-trusty'
+ - '{name}-tox-{toxenv}-jessie'
 
 - project:
 name: pywikibot-i18n
@@ -67,4 +67,4 @@
 
 jobs:
  - '{name}-tox-{toxenv}'
- - '{name}-tox-{toxenv}-trusty'
+ - '{name}-tox-{toxenv}-jessie'
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index bf703bb..f5536eb 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -539,6 +539,10 @@
 parameter-function: offline_when_complete
   - name: ^tox-.*-jessie$
 parameter-function: offline_when_complete
+  - name: ^pywikibot-core-tox-.*-jessie$
+parameter-function: offline_when_complete
+  - name: ^pywikibot-wikibase-tox-.*-jessie$
+parameter-function: offline_when_complete
 
   # Experiment for analytics/kraken repository
   - name: analytics-kraken
@@ -7825,19 +7829,19 @@
   - noop
 test:
   - 'tox-flake8'
-  - 'pywikibot-core-tox-flake8-py3-trusty'
+  - 'pywikibot-core-tox-flake8-py3-jessie'
   - 'pywikibot-core-tox-flake8-docstrings'
   - 'pywikibot-core-tox-flake8-docstrings-mandatory'
   - 'pywikibot-core-tox-nose'
-  - 'pywikibot-core-tox-nose34-trusty'
-  - 'tox-doc-trusty'
+  - 'pywikibot-core-tox-nose34-jessie'
+  - 'tox-doc-jessie'
 gate-and-submit:
   - 'tox-flake8'
-  - 'pywikibot-core-tox-flake8-py3-trusty'
+  - 'pywikibot-core-tox-flake8-py3-jessie'
   - 'pywikibot-core-tox-flake8-docstrings-mandatory'
   - 'pywikibot-core-tox-nose'
-  - 'pywikibot-core-tox-nose34-trusty'
-  - 'tox-doc-trusty'
+  - 'pywikibot-core-tox-nose34-jessie'
+  - 'tox-doc-jessie'
 postmerge:
   - 'pywikibot-core-tox-doc-publish'
 
@@ -7863,13 +7867,13 @@
 test:
   - 'tox-flake8'
   - 'pywikibot-wikibase-tox-nose'
-  - 'pywikibot-wikibase-tox-flake8-py3-trusty'
-  - 'pywikibot-wikibase-tox-nose34-trusty'
+  - 'pywikibot-wikibase-tox-flake8-py3-jessie'
+  - 'pywikibot-wikibase-tox-nose34-jessie'
 gate-and-submit:
   - 'tox-flake8'
   - 'pywikibot-wikibase-tox-nose'
-  - 'pywikibot-wikibase-tox-flake8-py3-trusty'
-  - 'pywikibot-wikibase-tox-nose34-trusty'
+  - 'pywikibot-wikibase-tox-flake8-py3-jessie'
+  - 'pywikibot-wikibase-tox-nose34-jessie'
 
   - name: qrpedia
 check-voter:

-- 
To view, visit https://gerrit.wikimedia.org/r/241011
To u

[MediaWiki-commits] [Gerrit] Migrate pywikibot/* tox jobs from Trusty to Jessie - change (integration/config)

2015-09-25 Thread Hashar (Code Review)
Hashar has uploaded a new change for review.

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

Change subject: Migrate pywikibot/* tox jobs from Trusty to Jessie
..

Migrate pywikibot/* tox jobs from Trusty to Jessie

And to Nodepool instances in the process.  We used Trusty which has
python3.4. Nodepool instances have it as well.

Introduce JJB template '{name}-tox-{toxenv}-jessie', tied to Nodepool.

Delete:
pywikibot-core-tox-flake8-docstrings-mandatory-trusty
pywikibot-core-tox-flake8-docstrings-trusty
pywikibot-core-tox-flake8-py3-trusty
pywikibot-core-tox-nose-trusty
pywikibot-core-tox-nose34-trusty
pywikibot-wikibase-tox-flake8-py3-trusty
pywikibot-wikibase-tox-nose-trusty
pywikibot-wikibase-tox-nose34-trusty

Create:
pywikibot-core-tox-flake8-docstrings-jessie
pywikibot-core-tox-flake8-docstrings-mandatory-jessie
pywikibot-core-tox-flake8-py3-jessie
pywikibot-core-tox-nose-jessie
pywikibot-core-tox-nose34-jessie
pywikibot-wikibase-tox-flake8-py3-jessie
pywikibot-wikibase-tox-nose-jessie
pywikibot-wikibase-tox-nose34-jessie

Adjust Zuul triggers.

Change-Id: I386f0bd8620c6eb536a0608b265972f6bf770fea
---
M jjb/python-jobs.yaml
M jjb/pywikibot.yaml
M zuul/layout.yaml
3 files changed, 30 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/11/241011/1

diff --git a/jjb/python-jobs.yaml b/jjb/python-jobs.yaml
index 6a925c7..1088e10 100644
--- a/jjb/python-jobs.yaml
+++ b/jjb/python-jobs.yaml
@@ -18,6 +18,22 @@
 publishers:
  - archive-log-dir
 
+- job-template:
+name: '{name}-tox-{toxenv}-jessie'
+node: ci-jessie-wikimedia
+defaults: use-remoteonly-zuul
+concurrent: true
+properties:
+ - zeromq-event
+triggers:
+ - zuul
+builders:
+ - tox:
+ venv: '{toxenv}'
+publishers:
+ - archive-log-dir
+
+
 # Generic version of above.
 - job-template:
 name: 'tox-{toxenv}'
diff --git a/jjb/pywikibot.yaml b/jjb/pywikibot.yaml
index 448d987..9893acc 100644
--- a/jjb/pywikibot.yaml
+++ b/jjb/pywikibot.yaml
@@ -14,18 +14,18 @@
 - project:
 name: pywikibot-core
 toxenv:
- - flake8-py3  # must only trigger the '-trusty' version
+ - flake8-py3  # must only trigger the '-jessie' version
  - flake8-docstrings
  - flake8-docstrings-mandatory
  - nose
- - nose34  # must only trigger the '-trusty' version
+ - nose34  # must only trigger the '-jessie' version
 
 jobs:
  - '{name}-tox-doc-publish':
 docsrc: 'docs/_build/html'
 docdest: 'pywikibot'
  - '{name}-tox-{toxenv}'
- - '{name}-tox-{toxenv}-trusty'
+ - '{name}-tox-{toxenv}-jessie'
 
 - project:
 name: pywikibot-i18n
@@ -67,4 +67,4 @@
 
 jobs:
  - '{name}-tox-{toxenv}'
- - '{name}-tox-{toxenv}-trusty'
+ - '{name}-tox-{toxenv}-jessie'
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index bf703bb..aa36ca9 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -7825,19 +7825,19 @@
   - noop
 test:
   - 'tox-flake8'
-  - 'pywikibot-core-tox-flake8-py3-trusty'
+  - 'pywikibot-core-tox-flake8-py3-jessie'
   - 'pywikibot-core-tox-flake8-docstrings'
   - 'pywikibot-core-tox-flake8-docstrings-mandatory'
   - 'pywikibot-core-tox-nose'
-  - 'pywikibot-core-tox-nose34-trusty'
-  - 'tox-doc-trusty'
+  - 'pywikibot-core-tox-nose34-jessie'
+  - 'tox-doc-jessie'
 gate-and-submit:
   - 'tox-flake8'
-  - 'pywikibot-core-tox-flake8-py3-trusty'
+  - 'pywikibot-core-tox-flake8-py3-jessie'
   - 'pywikibot-core-tox-flake8-docstrings-mandatory'
   - 'pywikibot-core-tox-nose'
-  - 'pywikibot-core-tox-nose34-trusty'
-  - 'tox-doc-trusty'
+  - 'pywikibot-core-tox-nose34-jessie'
+  - 'tox-doc-jessie'
 postmerge:
   - 'pywikibot-core-tox-doc-publish'
 
@@ -7863,13 +7863,13 @@
 test:
   - 'tox-flake8'
   - 'pywikibot-wikibase-tox-nose'
-  - 'pywikibot-wikibase-tox-flake8-py3-trusty'
-  - 'pywikibot-wikibase-tox-nose34-trusty'
+  - 'pywikibot-wikibase-tox-flake8-py3-jessie'
+  - 'pywikibot-wikibase-tox-nose34-jessie'
 gate-and-submit:
   - 'tox-flake8'
   - 'pywikibot-wikibase-tox-nose'
-  - 'pywikibot-wikibase-tox-flake8-py3-trusty'
-  - 'pywikibot-wikibase-tox-nose34-trusty'
+  - 'pywikibot-wikibase-tox-flake8-py3-jessie'
+  - 'pywikibot-wikibase-tox-nose34-jessie'
 
   - name: qrpedia
 check-voter:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I386f0bd8620c6eb536a0608b265972f6bf770fea
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimed