Add charmcraft 3 support
Update the charmcraft.yaml file to use base and platforms, only allowing noble support. - Update osci.yaml to use the charmcraft 3.x/beta - Add noble/oracular to charmhelpers - Drop non-noble tests Change-Id: I8e6b4040d84a7022e22305a629a854a22232d65d
This commit is contained in:
parent
2d31e02a37
commit
06da739829
@ -5,34 +5,32 @@ parts:
|
|||||||
plugin: dump
|
plugin: dump
|
||||||
source: .
|
source: .
|
||||||
prime:
|
prime:
|
||||||
- actions/*
|
- actions/*
|
||||||
- charmhelpers/*
|
- charmhelpers/*
|
||||||
- files/*
|
- files/*
|
||||||
- hooks/*
|
- hooks/*
|
||||||
- lib/*
|
- lib/*
|
||||||
- templates/*
|
- templates/*
|
||||||
- actions.yaml
|
- actions.yaml
|
||||||
- config.yaml
|
- config.yaml
|
||||||
- copyright
|
- copyright
|
||||||
- icon.svg
|
- icon.svg
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- Makefile
|
- Makefile
|
||||||
- metadata.yaml
|
- metadata.yaml
|
||||||
- README.md
|
- README.md
|
||||||
|
|
||||||
bases:
|
base: ubuntu@24.04
|
||||||
- build-on:
|
platforms:
|
||||||
- name: ubuntu
|
amd64:
|
||||||
channel: "20.04"
|
build-on: amd64
|
||||||
architectures:
|
build-for: amd64
|
||||||
- amd64
|
arm64:
|
||||||
run-on:
|
build-on: arm64
|
||||||
- name: ubuntu
|
build-for: arm64
|
||||||
channel: "20.04"
|
ppc64el:
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
build-on: ppc64el
|
||||||
- name: ubuntu
|
build-for: ppc64el
|
||||||
channel: "22.04"
|
s390x:
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
build-on: s390x
|
||||||
- name: ubuntu
|
build-for: s390x
|
||||||
channel: "23.10"
|
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
|
||||||
|
@ -33,6 +33,8 @@ UBUNTU_RELEASES = (
|
|||||||
'kinetic',
|
'kinetic',
|
||||||
'lunar',
|
'lunar',
|
||||||
'mantic',
|
'mantic',
|
||||||
|
'noble',
|
||||||
|
'oracular',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- charm-unit-jobs-py38
|
|
||||||
- charm-unit-jobs-py310
|
- charm-unit-jobs-py310
|
||||||
- charm-yoga-functional-jobs
|
- charm-functional-jobs
|
||||||
vars:
|
vars:
|
||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: hacluster
|
charm_build_name: hacluster
|
||||||
build_type: charmcraft
|
build_type: charmcraft
|
||||||
charmcraft_channel: 2.x/stable
|
charmcraft_channel: 3.x/beta
|
||||||
|
@ -1,57 +0,0 @@
|
|||||||
variables:
|
|
||||||
openstack-origin: &openstack-origin cloud:focal-yoga
|
|
||||||
|
|
||||||
series: focal
|
|
||||||
|
|
||||||
machines:
|
|
||||||
'0':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'1':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'2':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'3':
|
|
||||||
'4':
|
|
||||||
'5':
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
keystone-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
mysql-innodb-cluster:
|
|
||||||
charm: ch:mysql-innodb-cluster
|
|
||||||
num_units: 3
|
|
||||||
options:
|
|
||||||
source: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '0'
|
|
||||||
- '1'
|
|
||||||
- '2'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
keystone:
|
|
||||||
charm: ch:keystone
|
|
||||||
num_units: 3
|
|
||||||
options:
|
|
||||||
token-expiration: 60
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '3'
|
|
||||||
- '4'
|
|
||||||
- '5'
|
|
||||||
channel: yoga/edge
|
|
||||||
|
|
||||||
keystone-hacluster:
|
|
||||||
charm: ../../hacluster.charm
|
|
||||||
subordinate-to:
|
|
||||||
- keystone
|
|
||||||
|
|
||||||
relations:
|
|
||||||
- - 'keystone:shared-db'
|
|
||||||
- 'keystone-mysql-router:shared-db'
|
|
||||||
- - 'keystone-hacluster:ha'
|
|
||||||
- 'keystone:ha'
|
|
||||||
- - "keystone-mysql-router:db-router"
|
|
||||||
- "mysql-innodb-cluster:db-router"
|
|
@ -1,57 +0,0 @@
|
|||||||
variables:
|
|
||||||
openstack-origin: &openstack-origin cloud:jammy-bobcat
|
|
||||||
|
|
||||||
series: jammy
|
|
||||||
|
|
||||||
machines:
|
|
||||||
'0':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'1':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'2':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'3':
|
|
||||||
'4':
|
|
||||||
'5':
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
keystone-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
mysql-innodb-cluster:
|
|
||||||
charm: ch:mysql-innodb-cluster
|
|
||||||
num_units: 3
|
|
||||||
options:
|
|
||||||
source: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '0'
|
|
||||||
- '1'
|
|
||||||
- '2'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
keystone:
|
|
||||||
charm: ch:keystone
|
|
||||||
num_units: 3
|
|
||||||
options:
|
|
||||||
token-expiration: 60
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '3'
|
|
||||||
- '4'
|
|
||||||
- '5'
|
|
||||||
channel: yoga/edge
|
|
||||||
|
|
||||||
keystone-hacluster:
|
|
||||||
charm: ../../hacluster.charm
|
|
||||||
subordinate-to:
|
|
||||||
- keystone
|
|
||||||
|
|
||||||
relations:
|
|
||||||
- - 'keystone:shared-db'
|
|
||||||
- 'keystone-mysql-router:shared-db'
|
|
||||||
- - 'keystone-hacluster:ha'
|
|
||||||
- 'keystone:ha'
|
|
||||||
- - "keystone-mysql-router:db-router"
|
|
||||||
- "mysql-innodb-cluster:db-router"
|
|
@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin distro
|
||||||
|
|
||||||
series: jammy
|
series: noble
|
||||||
|
|
||||||
machines:
|
machines:
|
||||||
'0':
|
'0':
|
||||||
@ -41,7 +41,7 @@ applications:
|
|||||||
- '3'
|
- '3'
|
||||||
- '4'
|
- '4'
|
||||||
- '5'
|
- '5'
|
||||||
channel: yoga/edge
|
channel: latest/edge
|
||||||
|
|
||||||
keystone-hacluster:
|
keystone-hacluster:
|
||||||
charm: ../../hacluster.charm
|
charm: ../../hacluster.charm
|
@ -1,15 +1,13 @@
|
|||||||
charm_name: hacluster
|
charm_name: hacluster
|
||||||
|
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- focal-yoga
|
- noble-caracal
|
||||||
|
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- focal-yoga
|
- noble-caracal
|
||||||
|
|
||||||
dev_bundles:
|
dev_bundles:
|
||||||
- jammy-yoga
|
- noble-caracal
|
||||||
- jammy-bobcat
|
|
||||||
- mantic-bobcat
|
|
||||||
|
|
||||||
configure:
|
configure:
|
||||||
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
||||||
@ -22,6 +20,3 @@ tests_options:
|
|||||||
hacluster:
|
hacluster:
|
||||||
principle-app-name: keystone
|
principle-app-name: keystone
|
||||||
hacluster-charm-name: hacluster
|
hacluster-charm-name: hacluster
|
||||||
force_deploy:
|
|
||||||
- jammy-yoga
|
|
||||||
- mantic-bobcat
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user