Add tests for jammy-caracal

Change-Id: I8f5143835f12a49451bff4000a641bf0a06bf296
This commit is contained in:
Luciano Lo Giudice 2024-06-05 19:17:27 -03:00
parent 6265363668
commit 251d975872
3 changed files with 210 additions and 39 deletions

View File

@ -5,14 +5,10 @@
jobs: jobs:
- ceph-iscsi-focal-quincy - ceph-iscsi-focal-quincy
- ceph-iscsi-focal-quincy-ec - ceph-iscsi-focal-quincy-ec
- ceph-iscsi-jammy-quincy
- ceph-iscsi-jammy-quincy-ec
- ceph-iscsi-jammy-reef - ceph-iscsi-jammy-reef
- ceph-iscsi-jammy-reef-ec - ceph-iscsi-jammy-reef-ec
- ceph-iscsi-lunar-quincy: - ceph-iscsi-jammy-caracal
voting: false - ceph-iscsi-jammy-caracal-ec
- ceph-iscsi-lunar-quincy-ec:
voting: false
vars: vars:
needs_charm_build: true needs_charm_build: true
charm_build_name: ceph-iscsi charm_build_name: ceph-iscsi
@ -21,36 +17,13 @@
- job: - job:
name: ceph-iscsi-focal-quincy name: ceph-iscsi-focal-quincy
parent: func-target parent: func-target
dependencies:
- ceph-iscsi-jammy-quincy
vars: vars:
tox_extra_args: -- focal tox_extra_args: -- focal
- job: - job:
name: ceph-iscsi-focal-quincy-ec name: ceph-iscsi-focal-quincy-ec
parent: func-target parent: func-target
dependencies:
- ceph-iscsi-jammy-quincy
vars: vars:
tox_extra_args: -- focal-ec tox_extra_args: -- focal-ec
- job:
name: ceph-iscsi-jammy-quincy
parent: func-target
dependencies:
- charm-build
- osci-lint
- name: tox-py310
soft: true
vars:
tox_extra_args: -- jammy
- job:
name: ceph-iscsi-jammy-quincy-ec
parent: func-target
dependencies:
- ceph-iscsi-jammy-quincy
vars:
tox_extra_args: -- jammy-ec
- job: - job:
name: ceph-iscsi-jammy-reef name: ceph-iscsi-jammy-reef
parent: func-target parent: func-target
@ -68,20 +41,15 @@
- ceph-iscsi-jammy-reef - ceph-iscsi-jammy-reef
vars: vars:
tox_extra_args: -- jammy-reef-ec tox_extra_args: -- jammy-reef-ec
- job: - job:
name: ceph-iscsi-lunar-quincy name: ceph-iscsi-jammy-caracal
parent: func-target parent: func-target
voting: false
dependencies:
- ceph-iscsi-jammy-quincy
vars: vars:
tox_extra_args: -- lunar tox_extra_args: -- jammy-caracal
- job: - job:
name: ceph-iscsi-lunar-quincy-ec name: ceph-iscsi-jammy-caracal-ec
parent: func-target parent: func-target
voting: false
dependencies: dependencies:
- ceph-iscsi-jammy-quincy - ceph-iscsi-jammy-caracal
vars: vars:
tox_extra_args: -- lunar-ec tox_extra_args: -- jammy-caracal-ec

View File

@ -0,0 +1,101 @@
variables:
source: &source cloud:jammy-caracal
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
source: *source
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,102 @@
options:
source: &source cloud:jammy-caracal
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
source: *source
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'