summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-09-07 12:19:39 +0200
committerAndreas Jaeger <aj@suse.com>2018-09-07 12:38:00 +0200
commit99bf2bd40f762fcdeae6e6101f9342cf8b168b8c (patch)
tree569244f49ea1d13e9b97ff879bec519ffb894154
parent7c2630516d08440420b175cd490975f2137ff527 (diff)
downloadoslotest-99bf2bd40f762fcdeae6e6101f9342cf8b168b8c.tar.gz
Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job in the check queue only. Use openstack-lower-constraints-jobs template Remove jobs that are part of the templates. Sort list of templates alphabetically. Fix tox.ini for cover to work. Change-Id: Id46f74ab4a8f64f7159effc8fa4d552f8217c498
-rw-r--r--.zuul.yaml17
-rw-r--r--tox.ini2
2 files changed, 6 insertions, 13 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 5eca61c..38fd7fc 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -1,18 +1,11 @@
- project:
- check:
- jobs:
- - openstack-tox-lower-constraints
- gate:
- jobs:
- - openstack-tox-lower-constraints
templates:
+ - check-requirements
+ - openstack-cover-jobs
+ - openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs
+ - openstack-python36-jobs
+ - periodic-stable-jobs
- publish-openstack-docs-pti
- - check-requirements
- release-notes-jobs-python3
- - periodic-stable-jobs
- - openstack-python36-jobs
- post:
- jobs:
- - openstack-tox-cover
diff --git a/tox.ini b/tox.ini
index e3dc310..f179fee 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,7 @@ commands = flake8
[testenv:cover]
basepython = python3
setenv =
- PYTHON=coverage run --source $project --parallel-mode
+ PYTHON=coverage run --source oslotest --parallel-mode
commands =
stestr run '{posargs}'
coverage combine