Commit Graph

21 Commits

Author SHA1 Message Date
Adam Harwell 7d60958b8c Retiring neutron-lbaas-dashboard
Depends-On: https://review.opendev.org/#/c/658493/
Change-Id: I3e2e42efc30eced5abb6c8fff0d0fc974fc9722b
2019-05-11 03:18:25 -07:00
manchandavishal 655d24f6c3 Changes for url transition to OpenDev
This commit changes openstack.org URL to opendev.org URL

Change-Id: I03c291374d5f49c08a7716c388dc0002268c2b4f
2019-04-22 11:03:57 +00:00
manchandavishal b13731e85d Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit drops python 3.5 and adds python 3.7.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I69b11066e334adfddb4ddc8ca2cafc6437d4457d
2019-04-16 07:36:00 +00:00
Vieri f1327e017e Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I268870bd9b00d86227fcc61fe65fd8c301e92c1e
Related-Bug: 1801465
2018-11-10 03:18:29 +00:00
Doug Hellmann d5c9f00935 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Idb6defda3b9575244421b1c4af8ba88205809d92
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:59:14 -04:00
Michael Johnson 9f7b22fe7c Removes testr and switches cover to karma-coverage
This patch removes testr as it is no longer used, switches the
cover job to use the javascript coverage report, and removes
the unused py27integration test environment from tox.ini.

Depends-On: https://review.openstack.org/570260
Change-Id: I44002e46b5a56031520b7144b476d4514aa1e676
2018-08-13 01:22:10 +00:00
Jacky Hu 29487dd38e Replace noop tests with registration test
Previously the python tests are just some stub code, replace them with
some real tests.

Change-Id: Iff9006544a361fc2bd0ad562be36efe895ed0d71
2018-08-13 09:08:29 +08:00
Zuul dde6dfb2eb Merge "Update tox.ini" 2018-05-01 14:51:07 +00:00
Charles Short 19b572e4e2 Update tox.ini
Add py35 to envlist.

Change-Id: I05ca4aa933a27dfde91adf4721629506ee9dc17a
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-03-28 09:57:27 -04:00
Doug Hellmann ada497179f 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: I60c542e73a276f3aec9da4d5b8f3a38a9a2d8ae0
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:33:04 -04:00
Michael Johnson 4fdadf64bb Remove tox_install
The tox_install script is not longer required, this patch removes it.

Change-Id: Ia291d99245160c2ba864ed63f99ee341523b7385
2018-03-14 21:03:05 +00:00
Jacky Hu 92584d239b Updating for new sphinx docs jobs
There have been recent changes to how docs jobs are run under zuul [1].
This patch updates neutron-lbaas-dashboard to be able to run under the
new zuul docs jobs.

[1] https://review.openstack.org/#/c/508694/

Change-Id: I482b4904838f39e7e32eb499ef9a29a4ec349522
2018-01-19 12:18:55 +08:00
Jacky Hu fec3d7f376 Make whitelist externals os agnostic
The exact path can vary in different operating systems, also this will
eliminate the following warning:
WARNING:test command found but not installed in testenv

Change-Id: I4a710922197ecd2dcb7500d93d1a895f88f6905e
2017-12-17 15:45:27 +08:00
Jacky Hu a38108be62 Make it work with devstack
To avoid the "installation from path or url cannot be constrained to
a version" issue.

Change-Id: I64421b32b8c92b235cf61f1c7ceeb8879e4dbcb8
2017-07-06 11:55:21 +08:00
Jacky Hu 997076e1e4 Exclude node_modules from pep8 checking
Change-Id: I9a35b4ecfc56941fc0166fe3ad6377b94e3f4211
2017-06-20 21:48:46 +08:00
Dirk Mueller ed325793c9 Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove neutron-lbaas-dashboard.

Change-Id: Id0a31c878f39355bcb8b2e4b67b0c17b161c8603
2016-12-20 14:35:05 +11:00
lilintan d7e58a7b94 Don't include openstack/common in flake8 exclude list
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more.

Change-Id: I7010754d7cd3c0d0d601b61bd3a870d59e3e6677
2016-09-11 15:53:46 +08:00
Mark Vanderwiel e221f7482a Adding integration test support
* Update requirements for selenium testing
* Add gate scripts
* Add draft integration test config and test stub
* Update tox for running integration tests

A patch for gate job is: I76ab460a110d93b0186ca126858f79ac9e89f09b

Change-Id: I5ca1bf7003a9882648cdfbeab21d2ada37b951f1
2016-02-23 14:54:45 -06:00
Doug Fish 3b72651253 Include javascript lint and unit test in tox
Add lint and unit test environments for JavaScript to tox.ini

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I13c1dd18c160c78ef303595cedc8009f58596863
2016-01-20 19:49:51 +00:00
Doug Fish fade35f1bb Make sure django env var is set
Unit tests for the first patch are failing because
DJANGO_SETTINGS_MODULE is not set. Add the pieces to
do this.

Change-Id: I9aff77126acf7c2e2d59966dd825f105e809edee
Partially-Implements: blueprint horizon-lbaas-v2-ui
2015-10-01 14:24:12 +00:00
Doug Wiegley 648464eb8b Initial cookiecutter commit
Change-Id: I0e667a8fafc19ec15de2174b0c6f94d531d2a615
2015-08-07 15:41:49 -06:00