diff options
author | Paul Belanger <pabelanger@redhat.com> | 2017-02-26 13:27:03 -0500 |
---|---|---|
committer | Paul Belanger <pabelanger@redhat.com> | 2017-03-10 12:06:29 -0500 |
commit | 8f89c272bf1091ca9fa283f6e8bb3e667dbdb663 (patch) | |
tree | a1727aa68be027b4020ae83c5cb3f0cd160bcec5 /.zuul.yaml | |
parent | d8c62195d3dbbcb50196a1aab9584c35a3db5adf (diff) | |
download | zuul-8f89c272bf1091ca9fa283f6e8bb3e667dbdb663.tar.gz |
Add generic tox job (multiple playbooks)
Here we now support 3 tox jobs; cover, linters and py27.
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.
Change-Id: I42f8855f44da51cb3d23f1825bd3258937543b2f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Diffstat (limited to '.zuul.yaml')
-rw-r--r-- | .zuul.yaml | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/.zuul.yaml b/.zuul.yaml index bb9a96dfd..ed6642242 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,15 +1,37 @@ - job: - name: python-linters - pre-run: pre - post-run: post + name: base + pre-run: base-pre + post-run: base-post success-url: http://zuulv3-dev.openstack.org/logs/{build.uuid}/ failure-url: http://zuulv3-dev.openstack.org/logs/{build.uuid}/ + timeout: 1800 nodes: - - name: worker + - name: ubuntu-xenial image: ubuntu-xenial +- job: + name: tox + parent: base + pre-run: tox-pre + post-run: tox-post + +- job: + name: tox-cover + parent: tox + voting: false + +- job: + name: tox-linters + parent: tox + +- job: + name: tox-py27 + parent: tox + - project: name: openstack-infra/zuul check: jobs: - - python-linters + - tox-cover + - tox-linters + - tox-py27 |