jenkins-bot has submitted this change and it was merged.
Change subject: Periodic QA job for integration/config.git
......................................................................
Periodic QA job for integration/config.git
Let us create tests with the attribute 'qa' which would be skipped in a
default tox run. Trigger the subset of test on a daily basis at 3:00am.
For now only notify myself while it is polished.
Creates integration-config-qa
Change-Id: I1504515e3c6b7299d059f88684b4929fa8ec038b
---
M .gitignore
M jjb/integration.yaml
M tox.ini
3 files changed, 32 insertions(+), 0 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.gitignore b/.gitignore
index ef6f216..5ccebc9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/log
*.pyc
/.tox
# Ignore any dotfile ...
diff --git a/jjb/integration.yaml b/jjb/integration.yaml
index 698a157..8e4eef9 100644
--- a/jjb/integration.yaml
+++ b/jjb/integration.yaml
@@ -152,6 +152,26 @@
- shell: |
./vendor/bin/composer --version
+- job:
+ name: integration-config-qa
+ node: ci-jessie-wikimedia
+ triggers:
+ - timed: '0 3 * * *'
+ scm:
+ - git:
+ url: 'https://gerrit.wikimedia.org/r/p/integration/config.git'
+ branches:
+ - master
+ reference-repo: '/srv/git/integration/config.git'
+ builders:
+ - run-tox:
+ venv: qa
+ publishers:
+ - archive-log-dir
+ - junit:
+ results: 'log/junit*.xml'
+ - email-ext:
+ recipients: [email protected]
- project:
name: 'integration-config'
diff --git a/tox.ini b/tox.ini
index 9a91b6a..029021b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,6 +6,8 @@
envlist = flake8,py27
[testenv]
+setenv =
+ NOSE_ATTR = !qa
commands = nosetests {posargs}
deps = -rtest-requirements.txt
@@ -13,6 +15,15 @@
commands = flake8
deps = flake8
+[testenv:qa]
+setenv =
+ NOSE_ATTR = qa
+whitelist_externals = mkdir
+commands =
+ mkdir log
+ nosetests --with-xunit --xunit-file log/junit-qa.xml
+
+
[testenv:dib]
commands = {toxinidir}/dib/tests.sh
deps = -rdib/requirements.txt
--
To view, visit https://gerrit.wikimedia.org/r/323519
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1504515e3c6b7299d059f88684b4929fa8ec038b
Gerrit-PatchSet: 4
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits