summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 19:03:22 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-09-26 19:03:22 -0400
commit88fc5aa6e05f005f53810c10e2fa532597e1ce6e (patch)
tree8c554ab1fafedae9a675c17f0dd68715d6c60219
parente597c6fb210debc252bf563d45640edab7a1347b (diff)
downloadansible-role-tripleo-rsyslog-sidecar-88fc5aa6e05f005f53810c10e2fa532597e1ce6e.zip
ansible-role-tripleo-rsyslog-sidecar-88fc5aa6e05f005f53810c10e2fa532597e1ce6e.tar.gz
ansible-role-tripleo-rsyslog-sidecar-88fc5aa6e05f005f53810c10e2fa532597e1ce6e.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: Ie7da78c0be12708510b9e12a4844b58c7e1ddc2a Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 0937984..5539525 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,6 +11,7 @@ deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = bash
[testenv:bindep]
+basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@@ -19,6 +20,7 @@ deps = bindep
commands = bindep test
[testenv:pep8]
+basepython = python3
commands =
# Run hacking/flake8 check for all python files
bash -c "git ls-files | grep -v releasenotes | xargs grep --binary-files=without-match \
@@ -38,6 +40,7 @@ commands =
bash ci-scripts/ansible-lint.sh
[testenv:linters]
+basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/ansible-requirements.txt
@@ -46,10 +49,12 @@ commands =
{[testenv:ansible-lint]commands}
[testenv:releasenotes]
+basepython = python3
whitelist_externals = bash
commands = bash -c ci-scripts/releasenotes_tox.sh
[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