Convert with-X-master tox periodic jobs

Convert the following jobs to Zuul v3 native jobs:
* legacy-periodic-py27-with-oslo-master
* legacy-periodic-py35-with-oslo-master
* legacy-periodic-py35-with-neutron-lib-master
* legacy-periodic-py35-with-ovsdbapp-master

Thanks to tox_install_siblings, this really simplifies the job.

This was tested with:
* https://review.openstack.org/540587
* https://review.openstack.org/540588

Needed-By: https://review.openstack.org/540592
Change-Id: Ie427b7f5fb217783c024bccce85bcdb2b823e54a
This commit is contained in:
Andreas Jaeger 2018-02-02 12:01:30 +01:00
parent bdd6beb8bf
commit d3b83729e4
3 changed files with 137 additions and 19 deletions

View File

@ -464,6 +464,115 @@
vars:
tox_envlist: snap
- job:
name: openstack-tox-with-oslo-master-base
parent: openstack-tox-py27
timeout: 3000
description: |
This job installs all oslo libraries from source and tests that the
unit tests of the tested project work.
required-projects:
- openstack/automaton
- openstack/debtcollector
- openstack/futurist
- openstack/osprofiler
- openstack/oslo.cache
- openstack/oslo.concurrency
- openstack/oslo.config
- openstack/oslo.context
- openstack/oslo.db
- openstack/oslo.i18n
- openstack/oslo.log
- openstack/oslo.messaging
- openstack/oslo.middleware
- openstack/oslo.policy
- openstack/oslo.privsep
- openstack/oslo.reports
- openstack/oslo.rootwrap
- openstack/oslo.serialization
- openstack/oslo.service
- openstack/oslo.utils
- openstack/oslo.versionedobjects
- openstack/oslo.vmware
- openstack/oslosphinx
- openstack/oslotest
- openstack/pycadf
- openstack/stevedore
- openstack/taskflow
- openstack/tooz
- openstack-dev/pbr
vars:
tox_install_siblings: true
- job:
name: openstack-tox-py27-with-oslo-master
parent: openstack-tox-with-oslo-master-base
description: |
This job installs all oslo libraries from source and tests that the
unit tests of the tested project work.
It uses the tox ``py27`` environment.
The job is normally run in a periodic pipeline, it is configured
to run on the master branch.
branches: master
vars:
tox_envlist: py27
bindep_profile: test py27
- job:
name: openstack-tox-py35-with-oslo-master
parent: openstack-tox-with-oslo-master-base
description: |
This job installs all oslo libraries from source and tests that the
unit tests of the tested project work.
It uses the tox ``py35`` environment.
The job is normally run in a periodic pipeline, it is configured
to run on the master branch.
branches: master
vars:
tox_envlist: py35
bindep_profile: test py35
- job:
name: openstack-tox-py35-with-neutron-lib-master
parent: openstack-tox-py35
timeout: 3000
description: |
This job installs neutron-lib from source and tests that the
unit tests of the tested project work.
It uses the tox ``py35`` environment.
The job is normally run in a periodic pipeline, it is configured
to run on the master branch.
branches: master
required-projects:
- openstack/neutron
- openstack/neutron-lib
vars:
tox_install_siblings: true
- job:
name: openstack-tox-py35-with-ovsdbapp-master
parent: openstack-tox-py35
timeout: 3000
description: |
This job installs ovsdbapp from source and tests that the
unit tests of the tested project work.
It uses the tox ``py35`` environment.
The job is normally run in a periodic pipeline, it is configured
to run on the master branch.
branches: master
required-projects:
- openstack/ovsdbapp
vars:
tox_install_siblings: true
- job:
name: build-openstack-puppet-tarball
description: |

View File

@ -712,6 +712,34 @@
required-projects:
- openstack/neutron
- project-template:
name: periodic-jobs-with-neutron-lib-master
description: |
Runs periodic job on master branch using
neutron-lib from source.
periodic:
jobs:
- openstack-tox-py35-with-neutron-lib-master
- project-template:
name: periodic-jobs-with-oslo-master
description: |
Runs periodic jobs on master branch using
oslo libraries from source.
periodic:
jobs:
- openstack-tox-py27-with-oslo-master
- openstack-tox-py35-with-oslo-master
- project-template:
name: periodic-jobs-with-ovsdbapp-master
description: |
Runs periodic job on master branch using
ovdsdbapp from source.
periodic:
jobs:
- openstack-tox-py35-with-ovsdbapp-master
- project-template:
name: python-charm-interface-jobs
description: |

View File

@ -179,25 +179,6 @@
jobs:
- legacy-tempest-dsvm-neutron-src-plugin
- project-template:
name: periodic-jobs-with-neutron-lib-master
periodic:
jobs:
- legacy-periodic-py35-with-neutron-lib-master
- project-template:
name: periodic-jobs-with-oslo-master
periodic:
jobs:
- legacy-periodic-py27-with-oslo-master
- legacy-periodic-py35-with-oslo-master
- project-template:
name: periodic-jobs-with-ovsdbapp-master
periodic:
jobs:
- legacy-periodic-py35-with-ovsdbapp-master
- project-template:
name: puppet-beaker-jobs
check: