Update tests, tox, series and readme for 18.11 release

Change-Id: I32640c1eff5445d2fe80fbd03bdbf3765da37f95
This commit is contained in:
Ryan Beisner 2018-11-14 13:41:07 +01:00
parent d2d01a7f76
commit 3fda2ab49d
No known key found for this signature in database
GPG Key ID: 952BACDC1C1A05FB
4 changed files with 15 additions and 6 deletions

View File

@ -2,6 +2,8 @@
This charm provides the Octavia load balancer service for an OpenStack Cloud.
OpenStack Rocky or later is required.
# Usage
Octavia relies on services from a fully functional OpenStack Cloud and expects

View File

@ -14,6 +14,8 @@ description: |
known as amphorae which it spins up on demand. This on-demand, horizontal
scaling feature differentiates Octavia from other load balancing solutions,
thereby making Octavia truly suited "for the cloud."
.
OpenStack Rocky or later is required.
tags:
- openstack
series:

View File

@ -6,13 +6,13 @@ skipsdist = True
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
whitelist_externals = juju
passenv = HOME TERM CS_API_* OS_*
passenv = HOME TERM CS_API_* OS_* AMULET_*
deps = -r{toxinidir}/test-requirements.txt
install_command =
pip install {opts} {packages}
[testenv:pep8]
basepython = python2.7
basepython = python3
deps=charm-tools
commands = charm-proof

13
tox.ini
View File

@ -10,9 +10,8 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
TERM=linux
LAYER_PATH={toxinidir}/layers
INTERFACE_PATH={toxinidir}/interfaces
JUJU_REPOSITORY={toxinidir}/build
passenv = http_proxy https_proxy
passenv = http_proxy https_proxy INTERFACE_PATH
install_command =
pip install {opts} {packages}
deps =
@ -23,13 +22,18 @@ basepython = python3
commands =
charm-build --log-level DEBUG -o {toxinidir}/build src {posargs}
[testenv:py3]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
[testenv:py35]
basepython = python3.5
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
[testenv:py3]
basepython = python3
[testenv:py36]
basepython = python3.6
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
@ -39,6 +43,7 @@ deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs} src unit_tests
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]