Update tox.ini for new upper constraints strategy
The requirements team has defined a new strategy for handling upper constraints[1]. This patch applies those strategies to neutron-lbaas-dashboard. This also pins the nodejs jobs to xenial. [1] http://lists.openstack.org/pipermail/openstack-discuss/ \ 2019-May/006478.html Change-Id: I970ff6a4f5cbb7ad1d2172285a5d84242e2c4ecf
This commit is contained in:
parent
c0146409bc
commit
ccf86210e5
|
@ -6,11 +6,13 @@
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-npm-run-lint:
|
- nodejs-npm-run-lint:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
vars:
|
||||||
node_version: 4
|
node_version: 4
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/horizon
|
- openstack/horizon
|
||||||
- nodejs-npm-run-test:
|
- nodejs-npm-run-test:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
vars:
|
||||||
node_version: 4
|
node_version: 4
|
||||||
required-projects:
|
required-projects:
|
||||||
|
@ -18,11 +20,13 @@
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-npm-run-lint:
|
- nodejs-npm-run-lint:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
vars:
|
||||||
node_version: 4
|
node_version: 4
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/horizon
|
- openstack/horizon
|
||||||
- nodejs-npm-run-test:
|
- nodejs-npm-run-test:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
vars:
|
||||||
node_version: 4
|
node_version: 4
|
||||||
required-projects:
|
required-projects:
|
||||||
|
|
5
tox.ini
5
tox.ini
|
@ -5,7 +5,7 @@ skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens} {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
NOSE_WITH_OPENSTACK=1
|
NOSE_WITH_OPENSTACK=1
|
||||||
|
@ -15,7 +15,8 @@ setenv =
|
||||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||||
CLIENT_NAME=neutron-lbaas-dashboard
|
CLIENT_NAME=neutron-lbaas-dashboard
|
||||||
DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings
|
DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz
|
http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz
|
||||||
whitelist_externals = npm
|
whitelist_externals = npm
|
||||||
|
|
Loading…
Reference in New Issue