jenkins-bot has submitted this change and it was merged.

Change subject: Add job to run pywikibot tests against beta cluster
......................................................................


Add job to run pywikibot tests against beta cluster

Will run at midnight UTC every day. Notifications for failures will be
figured out later.

Bug: T100903
Change-Id: I3fbde3a53e765db60b4be24cf942c522361f02c3
---
M jjb/pywikibot.yaml
1 file changed, 25 insertions(+), 0 deletions(-)

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



diff --git a/jjb/pywikibot.yaml b/jjb/pywikibot.yaml
index 19f2aa6..f37d721 100644
--- a/jjb/pywikibot.yaml
+++ b/jjb/pywikibot.yaml
@@ -32,3 +32,28 @@
 
     jobs:
      - python-jobs
+
+- job:
+    name: pywikibot-tests-beta-cluster
+    node: contintLabsSlave && UbuntuTrusty
+    scm:
+      - git:
+          url: 'https://gerrit.wikimedia.org/r/pywikibot/core'
+          branches:
+            - master
+          wipe-workspace: false  # keep the workspace...
+          clean:
+              after: true        # ... and use git clean instead
+          prune: true            # prune remote obsoletes branches
+          submodule:
+              recursive: false
+    builders:
+     - shell: |
+         export PYWIKIBOT2_DIR=$WORKSPACE
+         tox -e venv -- python -m generate_family_file 
'http://en.wikipedia.beta.wmflabs.org/' 'wpbeta' 'y'
+         tox -e venv -- python -m generate_user_files -dir:$WORKSPACE 
-family:wpbeta -lang:en -v
+         echo "console_encoding='utf8'" >> $WORKSPACE/user-config.py
+         tox -e venv pip install nose
+         tox -e venv -- python setup.py nosetests --tests tests --verbosity=2 
-a '"family=wpbeta,code=en"'
+    triggers:
+        - timed: "@midnight"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3fbde3a53e765db60b4be24cf942c522361f02c3
Gerrit-PatchSet: 6
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to