Commit Graph

13 Commits

Author SHA1 Message Date
98k a79dc59226 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I2a44bccab3cb130521de096b0d3f85d1bc84f2c1
2018-11-09 03:07:40 +00:00
huang.zhiping de7111f874 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: I5d41e544683f08884315c8e2a882d15e5c24eea1
2018-06-10 00:34:44 +08:00
Anusha Ramineni 80fbb7fca4 Remove valence.conf.sample
As oslo-config-generator has been added, no need to maintain the
local copy of sample file, should be generated via
tox -egenconfig, generates the sample file with latest config
options

Change-Id: I6da9bd0454ec1b9980876e3021a331de68204074
Closes-Bug:#1680776
2017-04-10 11:51:37 +05:30
Madhuri Kumari 4031a8b1de Added support for oslo.config
Currently there was no support for oslo.config in valence.
This patch does the following:
	* Add a config generator tool.
	* Added support to use oslo.config
	* Added oslo.i18n support needed for translation

Change-Id: I444b47a20a69c3e075ea36abf337f343b38549d0
Partially-Implements: blueprint director-plugin-cookiecutter
2017-03-31 05:21:15 +00:00
John L. Villalovos b494488945 Use flake8-import-order
Use the flake8 plugin flake8-import-order to check import ordering. It can do
it automatically and don't need reviewers to check it.

Change-Id: Ief79a4696d7cd9b57e61a68e76bebb01027ed44c
2017-02-27 12:45:06 -08:00
Andy Yan 4b39ec1f0f Make functional tests out of Jenkin's verification
Make functional tests out of Jenkins verification because
Jenkins has no real environment for functional tests.
And "# tox -e functional" should be used for
local functional tests.

Change-Id: Idad4eb055ffdc077269facbc1f6dd97c6d3a9b52
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2017-01-06 14:27:59 +08:00
John L. Villalovos 36f85daa58 pep8: Don't ignore E123,E125
Code is passing and these checks improve readability

E123: closing bracket does not match indentation of opening bracket’s line
E125: continuation line with same indent as next logical line

Change-Id: Ia476203b1ede6dc455f03ebc0410cde52c8be623
2016-12-13 14:32:51 -08:00
Lin Yang dc25a2df5d Change py34 to py35 in tox setting
Usually OpenStack infra will run python27 and python35 jobs by
default, and only run python34 on stable branch, but valence don't
have.

Change-Id: I169620bcfbbfe3f0d37b44fabc6dc0884c443bde
2016-12-07 18:16:22 -08:00
Andy Yan fe2dec259a fix '#tox -e api-ref' not working for generating Valence API Docs
Closes-Bug: #1647272
Change-Id: I2e7a1a57e7d2600f35573e195bd14c2f26ff540c
2016-12-05 16:51:24 +08:00
Lin Yang 962abdd298 Skip flake8 check for local node_modules directory
The js modules under node_modules directory contains several python
files, skip flake8 check for them.

Change-Id: I9a2f46a7b0267159982dc0942b1ca90637282637
2016-11-09 10:34:23 -08:00
chesterkuo b121cd520b Aapi-ref doc, this is converted from Word file to RST format.
Add pooled resources, compute system , composed node and flavor API.
Remove extra space with end of line and fix literal block warning.

Change-Id: Ib7f00617e48e7ecc6fe30091d79ef6b47ae4c5af
2016-10-27 10:44:04 -04:00
Anusha Ramineni dde333ef10 Enable tox to run unit tests
Change-Id: I5517be776cd240133c8f8aee0863c80a567d0591
Partially-Implements: tox-testcases
2016-10-12 10:25:09 +05:30
Lin Yang 0ac90c5522 Initial import from external repository
External repo: https://github.com/mganguli/RSC
Commit: 49199a82045f1d6f231eb477de3dbcd59492e9d9

Change-Id: I9eaec387605a39ba5e4c571026cacb1845938231
2016-10-07 08:50:05 +08:00