Browse Source

Merge "update project for zuul v3"

Zuul 3 months ago
parent
commit
04e446f9f9
2 changed files with 25 additions and 2 deletions
  1. 24
    0
      tox.ini
  2. 1
    2
      zuul.d/project.yaml

+ 24
- 0
tox.ini View File

@@ -123,3 +123,27 @@ deps =
123 123
   -c{toxinidir}/lower-constraints.txt
124 124
   -r{toxinidir}/test-requirements.txt
125 125
   -r{toxinidir}/requirements.txt
126
+
127
+[testenv:bandit]
128
+deps = -r{toxinidir}/test-requirements.txt
129
+commands = 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
134
+commands =
135
+    pip install -q -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
136
+
137
+[testenv:py3-dev]
138
+basepython = python3
139
+commands =
140
+    {[testenv:dev]commands}
141
+    {[testenv]commands}
142
+
143
+[testenv:pep8-dev]
144
+basepython = python3
145
+deps =
146
+    {[testenv]deps}
147
+commands =
148
+    {[testenv:dev]commands}
149
+    {[testenv:pep8]commands}

+ 1
- 2
zuul.d/project.yaml View File

@@ -6,6 +6,7 @@
6 6
       - check-requirements
7 7
       - openstack-python35-jobs-neutron
8 8
       - openstack-python36-jobs-neutron
9
+      - openstack-lower-constraints-jobs-neutron
9 10
     check:
10 11
       jobs:
11 12
         - networking-ovn-tempest-dsvm-ovs-master:
@@ -24,7 +25,6 @@
24 25
         # If you need any support to debug these jobs in case of
25 26
         # failures, please reach us on #tripleo IRC channel.
26 27
         - tripleo-ci-centos-7-scenario007-multinode-oooq-container
27
-        - openstack-tox-lower-constraints
28 28
         - networking-ovn-dsvm-grenade:
29 29
             branches: ^(?!stable/(ocata|pike|queens)).*$
30 30
             voting: false
@@ -42,7 +42,6 @@
42 42
             branches: ^(?!stable/newton).*$
43 43
         - tripleo-ci-centos-7-scenario007-multinode-oooq
44 44
         - tripleo-ci-centos-7-scenario007-multinode-oooq-container
45
-        - openstack-tox-lower-constraints
46 45
     experimental:
47 46
       jobs:
48 47
         - networking-ovn-tempest-dsvm-multinode:

Loading…
Cancel
Save