summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoden R <bodenvmw@gmail.com>2018-12-13 15:03:21 -0700
committerBoden R <bodenvmw@gmail.com>2018-12-13 15:03:21 -0700
commitebeee372f3c0ec8a16c1c103647b61ebfec55bc2 (patch)
tree67539dfb169f623e15b0589b3b714729d3d887e6
parentcfdd81c6375f445116f56e656a042916db513df9 (diff)
update project for zuul v3
This patch adds a few things to get the project up to speed for zuul v3: - Adds the pep8-dev and py3-dev tox targets for local testing [1]. - Switches the zuul config to use the neutron version of the lower constraints job ensure neutron from source is used. [1] https://etherpad.openstack.org/p/neutron-sibling-setup Change-Id: I29638781271436a425d3ba8bd0f941b83f109e85
Notes
Notes (review): Code-Review+2: Lucas Alvares Gomes <lucasagomes@gmail.com> Code-Review+1: Terry Wilson <twilson@redhat.com> Workflow+1: Lucas Alvares Gomes <lucasagomes@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 08 Jan 2019 17:52:46 +0000 Reviewed-on: https://review.openstack.org/604848 Project: openstack/networking-ovn Branch: refs/heads/master
-rw-r--r--tox.ini24
-rw-r--r--zuul.d/project.yaml3
2 files changed, 25 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 80581dc..1946a0d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -123,3 +123,27 @@ deps =
123 -c{toxinidir}/lower-constraints.txt 123 -c{toxinidir}/lower-constraints.txt
124 -r{toxinidir}/test-requirements.txt 124 -r{toxinidir}/test-requirements.txt
125 -r{toxinidir}/requirements.txt 125 -r{toxinidir}/requirements.txt
126
127[testenv:bandit]
128deps = -r{toxinidir}/test-requirements.txt
129commands = bandit -r neutron_lib -x tests -n5
130
131[testenv:dev]
132# run locally (not in the gate) using editable mode
133# https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
134commands =
135 pip install -q -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
136
137[testenv:py3-dev]
138basepython = python3
139commands =
140 {[testenv:dev]commands}
141 {[testenv]commands}
142
143[testenv:pep8-dev]
144basepython = python3
145deps =
146 {[testenv]deps}
147commands =
148 {[testenv:dev]commands}
149 {[testenv:pep8]commands}
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 60cca75..d1470ac 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -6,6 +6,7 @@
6 - check-requirements 6 - check-requirements
7 - openstack-python35-jobs-neutron 7 - openstack-python35-jobs-neutron
8 - openstack-python36-jobs-neutron 8 - openstack-python36-jobs-neutron
9 - openstack-lower-constraints-jobs-neutron
9 check: 10 check:
10 jobs: 11 jobs:
11 - networking-ovn-tempest-dsvm-ovs-master: 12 - networking-ovn-tempest-dsvm-ovs-master:
@@ -26,7 +27,6 @@
26 # failures, please reach us on #tripleo IRC channel. 27 # failures, please reach us on #tripleo IRC channel.
27 - tripleo-ci-centos-7-scenario007-multinode-oooq 28 - tripleo-ci-centos-7-scenario007-multinode-oooq
28 - tripleo-ci-centos-7-scenario007-multinode-oooq-container 29 - tripleo-ci-centos-7-scenario007-multinode-oooq-container
29 - openstack-tox-lower-constraints
30 - networking-ovn-dsvm-grenade: 30 - networking-ovn-dsvm-grenade:
31 branches: ^(?!stable/(ocata|pike|queens)).*$ 31 branches: ^(?!stable/(ocata|pike|queens)).*$
32 voting: false 32 voting: false
@@ -44,7 +44,6 @@
44 branches: ^(?!stable/newton).*$ 44 branches: ^(?!stable/newton).*$
45 - tripleo-ci-centos-7-scenario007-multinode-oooq 45 - tripleo-ci-centos-7-scenario007-multinode-oooq
46 - tripleo-ci-centos-7-scenario007-multinode-oooq-container 46 - tripleo-ci-centos-7-scenario007-multinode-oooq-container
47 - openstack-tox-lower-constraints
48 experimental: 47 experimental:
49 jobs: 48 jobs:
50 - networking-ovn-tempest-dsvm-multinode: 49 - networking-ovn-tempest-dsvm-multinode: