summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 18:50:23 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-09-26 18:50:23 -0400
commit5404306667c94f995ad6567298c89fa1dfc1c745 (patch)
treeaf95045af595b102da5cab4209286c1621b798e5
parent4a63cd5cbd9079827420e6b87308f743e5f2c15f (diff)
downloadcinder-tempest-plugin-5404306667c94f995ad6567298c89fa1dfc1c745.zip
cinder-tempest-plugin-5404306667c94f995ad6567298c89fa1dfc1c745.tar.gz
cinder-tempest-plugin-5404306667c94f995ad6567298c89fa1dfc1c745.tar.bz2
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: I56e633ab1483297f5403aaa77ba98d17012d60d8 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 328da2e..6ca7aac 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,9 +13,11 @@ deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
+basepython = python3
commands = flake8 {posargs}
[testenv:venv]
+basepython = python3
commands = {posargs}
[flake8]

This mirror site include all the OpenStack related repositories under: openstack, openstack-dev and openstack-infra.

NOTE: All repositories are updated every one hour.

Usage

For Git Clone
 git clone http://git.trystack.cn/openstack/nova.git 
For DevStack

Add GIT_BASE, NOVNC_REPO and SPICE_REPO variables to local.conf file.

[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git