Merge "Add reef functests"

This commit is contained in:
Zuul 2023-11-06 09:21:11 +00:00 committed by Gerrit Code Review
commit b397176db9
4 changed files with 223 additions and 0 deletions

View File

@ -7,6 +7,8 @@
- ceph-iscsi-focal-quincy-ec
- ceph-iscsi-jammy-quincy
- ceph-iscsi-jammy-quincy-ec
- ceph-iscsi-jammy-reef
- ceph-iscsi-jammy-reef-ec
- ceph-iscsi-lunar-quincy:
voting: false
- ceph-iscsi-lunar-quincy-ec:
@ -49,6 +51,24 @@
vars:
tox_extra_args: -- jammy-ec
- job:
name: ceph-iscsi-jammy-reef
parent: func-target
dependencies:
- charm-build
- osci-lint
- name: tox-py310
soft: true
vars:
tox_extra_args: -- jammy-reef
- job:
name: ceph-iscsi-jammy-reef-ec
parent: func-target
dependencies:
- ceph-iscsi-jammy-reef
vars:
tox_extra_args: -- jammy-reef-ec
- job:
name: ceph-iscsi-lunar-quincy
parent: func-target

View File

@ -0,0 +1,100 @@
variables:
source: &source cloud:jammy-bobcat
local_overlay_enabled: False
series: jammy
machines:
'0':
'1':
'2':
'3':
'4':
'5':
'6':
'7':
'8':
constraints: mem=3072M
'9':
constraints: mem=3072M
'10':
constraints: mem=3072M
'11':
'12':
'13':
'14':
'15':
applications:
ubuntu:
charm: cs:ubuntu
num_units: 3
to:
- '7'
- '14'
- '15'
ceph-iscsi:
charm: ../../ceph-iscsi.charm
num_units: 2
options:
gateway-metadata-pool: iscsi-foo-metadata
pool-type: erasure-coded
ec-profile-k: 4
ec-profile-m: 2
to:
- '0'
- '1'
ceph-osd:
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: 'cinder,10G'
options:
osd-devices: '/dev/test-non-existent'
source: *source
to:
- '0'
- '1'
- '2'
- '11'
- '12'
- '13'
channel: latest/edge
ceph-mon:
charm: ch:ceph-mon
num_units: 3
options:
monitor-count: '3'
source: *source
to:
- '3'
- '4'
- '5'
channel: latest/edge
vault:
num_units: 1
charm: ch:vault
to:
- '6'
channel: 1.8/stable
mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
to:
- '8'
- '9'
- '10'
channel: 8.0/edge
vault-mysql-router:
charm: ch:mysql-router
channel: 8.0/edge
relations:
- - 'ceph-mon:client'
- 'ceph-iscsi:ceph-client'
- - 'vault:certificates'
- 'ceph-iscsi:certificates'
- - 'ceph-osd:mon'
- 'ceph-mon:osd'
- - 'vault:shared-db'
- 'vault-mysql-router:shared-db'
- - 'vault-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'

View File

@ -0,0 +1,101 @@
options:
source: &source cloud:jammy-bobcat
local_overlay_enabled: False
series: jammy
machines:
'0':
'1':
'2':
'3':
'4':
'5':
'6':
'7':
'8':
constraints: mem=3072M
'9':
constraints: mem=3072M
'10':
constraints: mem=3072M
'11':
'12':
'13':
'14':
'15':
'16':
'17':
applications:
ubuntu:
charm: cs:ubuntu
num_units: 3
to:
- '7'
- '14'
- '15'
ceph-iscsi:
charm: ../../ceph-iscsi.charm
num_units: 4
options:
gateway-metadata-pool: iscsi-foo-metadata
to:
- '0'
- '1'
- '16'
- '17'
ceph-osd:
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: 'cinder,10G'
options:
osd-devices: '/dev/test-non-existent'
source: *source
to:
- '0'
- '1'
- '2'
- '11'
- '12'
- '13'
channel: latest/edge
ceph-mon:
charm: ch:ceph-mon
num_units: 3
options:
monitor-count: '3'
source: *source
to:
- '3'
- '4'
- '5'
channel: latest/edge
vault:
num_units: 1
charm: ch:vault
to:
- '6'
channel: 1.8/stable
mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
to:
- '8'
- '9'
- '10'
channel: 8.0/edge
vault-mysql-router:
charm: ch:mysql-router
channel: 8.0/edge
relations:
- - 'ceph-mon:client'
- 'ceph-iscsi:ceph-client'
- - 'vault:certificates'
- 'ceph-iscsi:certificates'
- - 'ceph-osd:mon'
- 'ceph-mon:osd'
- - 'vault:shared-db'
- 'vault-mysql-router:shared-db'
- - 'vault-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'

View File

@ -4,6 +4,8 @@ gate_bundles:
- focal
- jammy-ec
- jammy
- jammy-reef
- jammy-reef-ef
smoke_bundles:
- jammy
dev_bundles: