osci, zuul, gitreview and Pin charmcraft to 0.10.2
Add osci config, zuul config, git review and pin charmcraft. Charmcraft pin is to maintain support for building out of a venv. Change-Id: Icbae309d6cb9169b1f8373de1124318c02926d4e
This commit is contained in:
4
.gitreview
Normal file
4
.gitreview
Normal file
@@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.opendev.org
|
||||
port=29418
|
||||
project=openstack/charm-openstack-loadbalancer
|
||||
4
.zuul.yaml
Normal file
4
.zuul.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python3-charm-jobs
|
||||
- openstack-cover-jobs
|
||||
1
build-requirements.txt
Normal file
1
build-requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
git+https://github.com/canonical/charmcraft.git@0.10.2#egg=charmcraft
|
||||
@@ -14,7 +14,7 @@ extra-bindings:
|
||||
internal:
|
||||
series:
|
||||
- focal
|
||||
- groovy
|
||||
- hirsute
|
||||
provides:
|
||||
loadbalancer:
|
||||
interface: openstack-loadbalancer
|
||||
|
||||
29
osci.yaml
Normal file
29
osci.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
- project:
|
||||
templates:
|
||||
- charm-unit-jobs
|
||||
check:
|
||||
jobs:
|
||||
- openstack-loadbalancer-focal
|
||||
- openstack-loadbalancer-hirsute
|
||||
vars:
|
||||
needs_charm_build: true
|
||||
charm_build_name: openstack-loadbalancer
|
||||
build_type: charmcraft
|
||||
- job:
|
||||
name: openstack-loadbalancer-focal
|
||||
parent: func-target
|
||||
dependencies:
|
||||
- osci-lint
|
||||
- tox-py35
|
||||
- tox-py36
|
||||
- tox-py37
|
||||
- tox-py38
|
||||
vars:
|
||||
tox_extra_args: focal
|
||||
- job:
|
||||
name: openstack-loadbalancer-hirsute
|
||||
parent: func-target
|
||||
dependencies: &smoke-jobs
|
||||
- openstack-loadbalancer-focal
|
||||
vars:
|
||||
tox_extra_args: hirsute
|
||||
@@ -23,7 +23,7 @@ applications:
|
||||
vault-mysql-router:
|
||||
charm: cs:~openstack-charmers-next/mysql-router
|
||||
ceph-dashboard:
|
||||
charm: ../../ceph-dashboard.charm
|
||||
charm: cs:~openstack-charmers-next/ceph-dashboard
|
||||
options:
|
||||
public-hostname: 'ceph-dashboard.zaza.local'
|
||||
openstack-loadbalancer:
|
||||
|
||||
50
tests/bundles/hirsute.yaml
Normal file
50
tests/bundles/hirsute.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
local_overlay_enabled: False
|
||||
series: hirsute
|
||||
applications:
|
||||
ceph-osd:
|
||||
charm: cs:~openstack-charmers-next/ceph-osd
|
||||
num_units: 6
|
||||
storage:
|
||||
osd-devices: 'cinder,10G'
|
||||
options:
|
||||
osd-devices: '/dev/test-non-existent'
|
||||
ceph-mon:
|
||||
charm: cs:~openstack-charmers-next/ceph-mon
|
||||
num_units: 3
|
||||
options:
|
||||
monitor-count: '3'
|
||||
vault:
|
||||
num_units: 1
|
||||
charm: cs:~openstack-charmers-next/vault
|
||||
mysql-innodb-cluster:
|
||||
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
|
||||
constraints: mem=3072M
|
||||
num_units: 3
|
||||
vault-mysql-router:
|
||||
charm: cs:~openstack-charmers-next/mysql-router
|
||||
ceph-dashboard:
|
||||
charm: cs:~openstack-charmers-next/ceph-dashboard
|
||||
options:
|
||||
public-hostname: 'ceph-dashboard.zaza.local'
|
||||
openstack-loadbalancer:
|
||||
charm: ../../openstack-loadbalancer.charm
|
||||
num_units: 3
|
||||
hacluster:
|
||||
charm: cs:~openstack-charmers-next/hacluster
|
||||
options:
|
||||
cluster_count: 3
|
||||
relations:
|
||||
- - 'ceph-osd:mon'
|
||||
- 'ceph-mon:osd'
|
||||
- - 'vault:shared-db'
|
||||
- 'vault-mysql-router:shared-db'
|
||||
- - 'vault-mysql-router:db-router'
|
||||
- 'mysql-innodb-cluster:db-router'
|
||||
- - 'ceph-dashboard:dashboard'
|
||||
- 'ceph-mon:dashboard'
|
||||
- - 'ceph-dashboard:certificates'
|
||||
- 'vault:certificates'
|
||||
- - 'openstack-loadbalancer:loadbalancer'
|
||||
- 'ceph-dashboard:loadbalancer'
|
||||
- - 'openstack-loadbalancer:ha'
|
||||
- 'hacluster:ha'
|
||||
4
tests/bundles/overlays/hirsute.yaml.j2
Normal file
4
tests/bundles/overlays/hirsute.yaml.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
applications:
|
||||
openstack-loadbalancer:
|
||||
options:
|
||||
vip: '{{ TEST_VIP00 }}'
|
||||
@@ -1,6 +1,7 @@
|
||||
charm_name: ceph-dasboard
|
||||
charm_name: openstack-loadbalancer
|
||||
gate_bundles:
|
||||
- focal
|
||||
- hirsute
|
||||
smoke_bundles:
|
||||
- focal
|
||||
configure:
|
||||
|
||||
Reference in New Issue
Block a user