Browse Source

add lower-constraints job

Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Idd1779c38f0fcd49130971d4eb2679247af796ce
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 1 year ago
parent
commit
9124f56fac
3 changed files with 47 additions and 0 deletions
  1. 34
    0
      lower-constraints.txt
  2. 7
    0
      tox.ini
  3. 6
    0
      zuul.d/layout.yaml

+ 34
- 0
lower-constraints.txt View File

@@ -0,0 +1,34 @@
1
+alabaster==0.7.10
2
+anyjson==0.3.3
3
+Babel==2.3.4
4
+coverage==4.0
5
+docutils==0.11
6
+extras==1.0.0
7
+fixtures==3.0.0
8
+flake8==2.5.5
9
+hacking==0.12.0
10
+imagesize==0.7.1
11
+Jinja2==2.10
12
+linecache2==1.0.0
13
+MarkupSafe==1.0
14
+mccabe==0.2.1
15
+mock==2.0.0
16
+pbr==2.0.0
17
+pep8==1.5.7
18
+pyflakes==0.8.1
19
+Pygments==2.2.0
20
+pystache==0.5.4
21
+python-mimeparse==1.6.0
22
+python-subunit==1.0.0
23
+pytz==2013.6
24
+PyYAML==3.12
25
+requests==2.14.2
26
+six==1.10.0
27
+snowballstemmer==1.2.1
28
+Sphinx==1.6.5
29
+sphinxcontrib-websupport==1.0.1
30
+testrepository==0.0.18
31
+testscenarios==0.4
32
+testtools==2.2.0
33
+traceback2==1.4.0
34
+unittest2==1.1.0

+ 7
- 0
tox.ini View File

@@ -29,3 +29,10 @@ commands = {posargs}
29 29
 [flake8]
30 30
 exclude = .venv,.tox,dist,doc,*.egg
31 31
 show-source = true
32
+
33
+[testenv:lower-constraints]
34
+basepython = python3
35
+deps =
36
+  -c{toxinidir}/lower-constraints.txt
37
+  -r{toxinidir}/test-requirements.txt
38
+  -r{toxinidir}/requirements.txt

+ 6
- 0
zuul.d/layout.yaml View File

@@ -3,3 +3,9 @@
3 3
     templates:
4 4
       - tripleo-multinode-baremetal-minimal
5 5
       - tripleo-multinode-container-minimal
6
+    check:
7
+      jobs:
8
+        - openstack-tox-lower-constraints
9
+    gate:
10
+      jobs:
11
+        - openstack-tox-lower-constraints

Loading…
Cancel
Save