Switch to using run-tox.sh everywhere.
Stop using run-unittests.sh. It creates confusion when people create jobs. Instead standardize on run-tox.sh. This means rewriting all the jobs that use run-unittests.sh to use run-tox.sh. Note that this depends on the parent change to merge first and have all our slave images rebuilt prior to merging this change. Change-Id: Ib81403c25485b120f48080a59f1894dc2130c05f
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
builders:
|
builders:
|
||||||
- revoke-sudo
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh 27dj14'
|
- shell: '/usr/local/jenkins/slave_scripts/run-tox.sh py27dj14'
|
||||||
- assert-no-extra-files
|
- assert-no-extra-files
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
|
@@ -229,41 +229,33 @@
|
|||||||
- builder:
|
- builder:
|
||||||
name: python26
|
name: python26
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh 26"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py26"
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: python27
|
name: python27
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh 27"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py27"
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: python33
|
name: python33
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh 33"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py33"
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: python34
|
name: python34
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh 34"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py34"
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: pypy
|
name: pypy
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh py"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh pypy"
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: tox
|
name: tox
|
||||||
builders:
|
builders:
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh {envlist}"
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh {envlist}"
|
||||||
|
|
||||||
- builder:
|
|
||||||
name: unittests
|
|
||||||
builders:
|
|
||||||
# NOTE(harlowja): the 'py' prefix will be added on automatically to the
|
|
||||||
# {envlist} by the internals of the run-unittests.sh script (so make
|
|
||||||
# sure you don't include it yourself).
|
|
||||||
- shell: "/usr/local/jenkins/slave_scripts/run-unittests.sh {envlist}"
|
|
||||||
|
|
||||||
- builder:
|
- builder:
|
||||||
name: assert-no-extra-files
|
name: assert-no-extra-files
|
||||||
builders:
|
builders:
|
||||||
|
@@ -35,21 +35,6 @@
|
|||||||
|
|
||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'gate-{name}-unittests-{env}'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh {env}'
|
|
||||||
- assert-no-extra-files
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- test-results
|
|
||||||
- console-log
|
|
||||||
|
|
||||||
node: '{node}'
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: 'sandbox-tag'
|
name: 'sandbox-tag'
|
||||||
|
|
||||||
|
@@ -1159,12 +1159,11 @@
|
|||||||
- python-jobs
|
- python-jobs
|
||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
- gate-{name}-unittests-{envlist}:
|
- gate-{name}-tox-{envlist}:
|
||||||
# NOTE(harlowja): the 'py' prefix will be added on automatically.
|
envlist: "py26-sa7-mysql"
|
||||||
envlist: "26-sa7-mysql"
|
|
||||||
node: bare-centos6
|
node: bare-centos6
|
||||||
- gate-{name}-unittests-{envlist}:
|
- gate-{name}-tox-{envlist}:
|
||||||
envlist: "27-sa8-mysql"
|
envlist: "py27-sa8-mysql"
|
||||||
- 'lib-forward-testing-{name}'
|
- 'lib-forward-testing-{name}'
|
||||||
- 'stable-compat-jobs-{name}'
|
- 'stable-compat-jobs-{name}'
|
||||||
|
|
||||||
@@ -3659,11 +3658,11 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- python-jobs
|
- python-jobs
|
||||||
- gate-{name}-unittests-{env}:
|
- gate-{name}-tox-{envlist}:
|
||||||
env: 26sa07
|
envlist: py26sa07
|
||||||
node: bare-centos6
|
node: bare-centos6
|
||||||
- gate-{name}-unittests-{env}:
|
- gate-{name}-tox-{envlist}:
|
||||||
env: 27sa07
|
envlist: py27sa07
|
||||||
- '{pipeline}-sqlalchemy-migrate-devstack-dsvm{branch-designator}':
|
- '{pipeline}-sqlalchemy-migrate-devstack-dsvm{branch-designator}':
|
||||||
pipeline: check
|
pipeline: check
|
||||||
node: 'devstack-precise || devstack-trusty'
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
@@ -200,27 +200,6 @@
|
|||||||
|
|
||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'gate-{name}-unittests-{envlist}'
|
|
||||||
|
|
||||||
wrappers:
|
|
||||||
- build-timeout:
|
|
||||||
timeout: 40
|
|
||||||
- timestamps
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- unittests:
|
|
||||||
envlist: '{envlist}'
|
|
||||||
- assert-no-extra-files
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- test-results
|
|
||||||
- console-log
|
|
||||||
|
|
||||||
node: '{node}'
|
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: '{name}-tarball'
|
name: '{name}-tarball'
|
||||||
node: 'bare-precise || bare-trusty'
|
node: 'bare-precise || bare-trusty'
|
||||||
|
@@ -2176,11 +2176,11 @@ projects:
|
|||||||
- name: stable-compat-jobs
|
- name: stable-compat-jobs
|
||||||
check:
|
check:
|
||||||
- gate-taskflow-python34
|
- gate-taskflow-python34
|
||||||
- gate-taskflow-unittests-26-sa7-mysql
|
- gate-taskflow-tox-py26-sa7-mysql
|
||||||
- gate-taskflow-unittests-27-sa8-mysql
|
- gate-taskflow-tox-py27-sa8-mysql
|
||||||
gate:
|
gate:
|
||||||
- gate-taskflow-unittests-26-sa7-mysql
|
- gate-taskflow-tox-py26-sa7-mysql
|
||||||
- gate-taskflow-unittests-27-sa8-mysql
|
- gate-taskflow-tox-py27-sa8-mysql
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Section: Other OpenStack projects
|
# Section: Other OpenStack projects
|
||||||
@@ -5357,13 +5357,13 @@ projects:
|
|||||||
check:
|
check:
|
||||||
- gate-sqlalchemy-migrate-pep8
|
- gate-sqlalchemy-migrate-pep8
|
||||||
- gate-sqlalchemy-migrate-python27
|
- gate-sqlalchemy-migrate-python27
|
||||||
- gate-sqlalchemy-migrate-unittests-26sa07
|
- gate-sqlalchemy-migrate-tox-py26sa07
|
||||||
- gate-sqlalchemy-migrate-unittests-27sa07
|
- gate-sqlalchemy-migrate-tox-py27sa07
|
||||||
- check-sqlalchemy-migrate-devstack-dsvm
|
- check-sqlalchemy-migrate-devstack-dsvm
|
||||||
gate:
|
gate:
|
||||||
- gate-sqlalchemy-migrate-python27
|
- gate-sqlalchemy-migrate-python27
|
||||||
- gate-sqlalchemy-migrate-unittests-26sa07
|
- gate-sqlalchemy-migrate-tox-py26sa07
|
||||||
- gate-sqlalchemy-migrate-unittests-27sa07
|
- gate-sqlalchemy-migrate-tox-py27sa07
|
||||||
post:
|
post:
|
||||||
- sqlalchemy-migrate-branch-tarball
|
- sqlalchemy-migrate-branch-tarball
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user