Add zuul yaml

Add zuul yaml to trigger zuul jobs
Update tests.yaml to wait for application to
be in desired state
Permit charm to run on juju 3.1

Change-Id: Id0191088a9ea447d7915f6f695c136bf06e9c154
This commit is contained in:
Hemanth Nakkina 2023-08-23 09:55:24 +05:30
parent 1a2e4ea4bc
commit cac4c53a90
4 changed files with 44 additions and 9 deletions

View File

@ -0,0 +1,11 @@
- project:
templates:
- openstack-python3-charm-jobs
- openstack-cover-jobs
- microk8s-func-test
vars:
charm_build_name: aodh-k8s
juju_channel: 3.1/stable
juju_classic_mode: false
microk8s_channel: 1.26-strict/stable
microk8s_classic_mode: false

View File

@ -12,7 +12,7 @@ bases:
channel: 22.04/stable
assumes:
- k8s-api
- juju >= 3.2
- juju >= 3.1
tags:
- openstack
source: https://opendev.org/openstack/charm-aodh-k8s

View File

@ -41,13 +41,13 @@ applications:
fernet-keys: 5M
credential-keys: 5M
gnocchi:
charm: gnocchi-k8s
channel: edge
charm: ch:gnocchi-k8s
channel: 2023.1/edge
scale: 1
trust: true
ceilometer:
charm: ceilometer-k8s
channel: edge
charm: ch:ceilometer-k8s
channel: 2023.1/edge
scale: 1
trust: true
aodh:
@ -94,4 +94,3 @@ relations:
- ceilometer:amqp
- - keystone:identity-credentials
- ceilometer:identity-credentials

View File

@ -3,8 +3,9 @@ gate_bundles:
smoke_bundles:
- smoke
configure:
- zaza.openstack.charm_tests.keystone.setup.add_tempest_roles
tests: []
- zaza.charm_tests.noop.setup.basic_setup
tests:
- zaza.charm_tests.noop.tests.NoopTest
tests_options:
trust:
- smoke
@ -15,4 +16,28 @@ tests_options:
default:
smoke: True
target_deploy_status: []
target_deploy_status:
traefik:
workload-status: active
workload-status-message-regex: '^$'
traefik-public:
workload-status: active
workload-status-message-regex: '^$'
keystone:
workload-status: active
workload-status-message-regex: '^$'
mysql:
workload-status: active
workload-status-message-regex: '^.*$'
rabbitmq:
workload-status: active
workload-status-message-regex: '^.*$'
ceilometer:
workload-status: active
workload-status-message-regex: '^.*$'
aodh:
workload-status: active
workload-status-message-regex: '^.*$'
gnocchi:
workload-status: blocked
workload-status-message-regex: '^.*ceph.*$'