Merge pull request #1 from openstack-charmers/pre-1811a
Update tests, tox, series and readme for 18.11 release
This commit is contained in:
commit
84615b48d7
|
@ -1,6 +1,12 @@
|
|||
# Overview
|
||||
|
||||
This charm provides secrets storage in Vault to Barbican
|
||||
The Barbican-Vault charm provies a Vault backend for OpenStack Barbican
|
||||
|
||||
OpenStack Rocky or later is required.
|
||||
|
||||
This charm, when used with the Barbican Charm, provides a software-based
|
||||
secrets-as-a-service solution for an OpenStack Cloud. In the future, other
|
||||
back-ends may be added.
|
||||
|
||||
# Usage
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
name: barbican-vault
|
||||
summary: OpenStack Barbican vault backend
|
||||
summary: Vault backend for OpenStack Barbican
|
||||
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
|
||||
description: OpenStack Barbican vault backend
|
||||
description: Vault backend for OpenStack Barbican
|
||||
tags:
|
||||
- openstack
|
||||
series:
|
||||
- bionic
|
||||
- cosmic
|
||||
subordinate: true
|
||||
provides:
|
||||
secrets:
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
series: cosmic
|
||||
relations:
|
||||
- - mysql:shared-db
|
||||
- keystone:shared-db
|
||||
- - mysql:shared-db
|
||||
- vault:shared-db
|
||||
- - mysql:shared-db
|
||||
- barbican:shared-db
|
||||
- - keystone:identity-service
|
||||
- barbican:identity-service
|
||||
- - rabbitmq-server:amqp
|
||||
- barbican:amqp
|
||||
- - barbican-vault:secrets
|
||||
- barbican:secrets
|
||||
- - vault:secrets
|
||||
- barbican-vault:secrets-storage
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
barbican:
|
||||
series: bionic
|
||||
charm: cs:~openstack-charmers-next/barbican
|
||||
num_units: 1
|
||||
options:
|
||||
barbican-vault:
|
||||
series: bionic
|
||||
charm: ../../../barbican-vault
|
||||
num_units: 0
|
||||
rabbitmq-server:
|
||||
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||
num_units: 1
|
||||
vault:
|
||||
charm: cs:~openstack-charmers-next/vault
|
||||
num_units: 1
|
|
@ -1,6 +1,9 @@
|
|||
charm_name: barbican-vault
|
||||
smoke_bundles:
|
||||
- bionic-rocky
|
||||
gate_bundles:
|
||||
- bionic-rocky
|
||||
- cosmic-rocky
|
||||
target_deploy_status:
|
||||
barbican-vault:
|
||||
workload-status: waiting
|
||||
|
|
|
@ -12,7 +12,7 @@ install_command =
|
|||
pip install {opts} {packages}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
basepython = python3
|
||||
deps=charm-tools
|
||||
commands = charm-proof
|
||||
|
||||
|
|
14
tox.ini
14
tox.ini
|
@ -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 =
|
||||
|
@ -28,12 +27,23 @@ 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:py36]
|
||||
basepython = python3.6
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = ostestr {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = flake8 {posargs} src unit_tests
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in New Issue