Files
sunbeam-charms/tests/ceph/tests.yaml
Hemanth Nakkina 5c21c23de8 [ci] Add loadbalancer annotations as part of setup
During restarts, the k8s services of type loadbalancer
can get diferent IPs and the integration tests tries to
communicate with older IPs.
Add a step after deploying the bundle to add loadbalancer
annotations to services of type loadbalancer so that
IPs persist during restart of pods.

Pin httpx version in tox.ini due to bug [1] in lightkube

[1] https://github.com/gtsystem/lightkube/issues/78

Change-Id: I013ec1c1e9dbac3ae86c57abcd9d87a3b99f6e82
2024-12-02 21:43:37 +05:30

48 lines
1.2 KiB
YAML

gate_bundles:
- smoke
smoke_bundles:
- smoke
# There is no storage provider at the moment so cannot run tests.
configure:
- zaza.sunbeam.charm_tests.k8s.setup.add_loadbalancer_annotations
- zaza.charm_tests.noop.setup.basic_setup
tests:
- zaza.charm_tests.noop.tests.NoopTest
tests_options:
trust:
- smoke
ignore_hard_deploy_errors:
- smoke
target_deploy_status:
traefik:
workload-status: active
workload-status-message-regex: '^$'
mysql:
workload-status: active
workload-status-message-regex: '^.*$'
rabbitmq:
workload-status: active
workload-status-message-regex: '^$'
keystone:
workload-status: active
workload-status-message-regex: '^$'
cinder:
workload-status: active
workload-status-message-regex: '^$'
cinder-ceph:
workload-status: blocked
workload-status-message-regex: '^.*ceph.*$'
ceilometer:
workload-status: waiting
workload-status-message-regex: '^.*Not all relations are ready$'
aodh:
workload-status: active
workload-status-message-regex: '^.*$'
gnocchi:
workload-status: blocked
workload-status-message-regex: '^.*ceph.*$'
watcher:
workload-status: waiting
workload-status-message-regex: '^.*integration incomplete$'