Page MenuHomePhabricator

Migrate pywikibot-tests-beta-cluster to a tox env in pywikibot/core
Closed, DeclinedPublic

Description

The Jenkins job pywikibot-tests-beta-cluster setup pywikibot and runs a test suite against the beta cluster. All the logic should be moved from the job to a testenv in pywikibot/core.

export PYWIKIBOT2_DIR=$WORKSPACE
export TOX_TESTENV_PASSENV=PY_COLORS
export PY_COLORS=1
tox -e venv -- pip install --upgrade ndg-httpsclient
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 -rdev-requirements.txt
tox -e venv -- python setup.py nosetests --tests tests --verbosity=2 -a '"family=wpbeta,code=en"'

Details

Related Gerrit Patches:
integration/config : masterDelete pywikibot-tests-beta-cluster

Event Timeline

Restricted Application added a subscriber: pywikibot-bugs-list. · View Herald TranscriptFeb 26 2018, 3:21 PM
hashar closed this task as Declined.Feb 26 2018, 3:29 PM

I am going to delete it. The job never ran any test.

Change 414688 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] Delete pywikibot-tests-beta-cluster

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

Change 414688 merged by jenkins-bot:
[integration/config@master] Delete pywikibot-tests-beta-cluster

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