[OpenStack-Infra] [zuul] Feedback requested for tox job definition

Paul Belanger pabelanger at redhat.com
Wed Mar 8 15:20:23 UTC 2017


Greetings,

Allow me to bring to your attention a series of patches which create our first
zuulv3 jobs. Specifically, we are looking to discuss what a generic tox job in
ansible will look like.

Currently, we have 2 proposed patches for zuul (feature/zuulv3) branch
available:

Generic tox (single playbook)
- https://review.openstack.org/438281

Generic tox (multi playbook)
- https://review.openstack.org/442180

Starting with 438281, the main differences lay within the .zuul.yaml file. As
you can see by looking at the code, we are not defining any variables (vars) in
.zuul.yaml. This means, we create 3 separate playbooks (tox-cover.yaml, 
tox-py27, tox-linters.yaml) which then contain the variables we need for our tox
role.

With 442180, we move our tox role variables into .zuul.yaml (vars section) and
use a single playbook (tox.yaml) as our entry point for each job.

Everything else between the 2 patches is the same. So, with that in mind, which
patch do people prefer?

-PB



More information about the OpenStack-Infra mailing list