summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 18:39:42 -0400
committerRyan Beisner <ryan.beisner@canonical.com>2018-11-02 12:13:51 -0500
commite2a5aec2cd7c2960c59251316fa4e71ef916c54e (patch)
treed6cc8cc48df379c92c1687f44f928b296e9236c6
parent7b9ed48f9e8e8e3c6ed6fd5bb5b9ca36567677c0 (diff)
downloadcharm-nova-lxd-e2a5aec2cd7c2960c59251316fa4e71ef916c54e.zip
charm-nova-lxd-e2a5aec2cd7c2960c59251316fa4e71ef916c54e.tar.gz
charm-nova-lxd-e2a5aec2cd7c2960c59251316fa4e71ef916c54e.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: Ib824a32b3135ccc6a6d64f41f5172838677b0189 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 03805ef..0b72fa9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,12 +32,14 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
+basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = flake8 {posargs} hooks unit_tests tests actions lib
charm-proof
[testenv:venv]
+basepython = python3
commands = {posargs}
[testenv:func27-noop]

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