sunbeam-charms/tests/caas/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

58 lines
1.4 KiB
YAML

gate_bundles:
- smoke
smoke_bundles:
- smoke
configure:
- zaza.sunbeam.charm_tests.k8s.setup.add_loadbalancer_annotations
- zaza.openstack.charm_tests.keystone.setup.wait_for_all_endpoints
- zaza.openstack.charm_tests.keystone.setup.add_tempest_roles
tests:
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneMinimal
tests_options:
trust:
- smoke
ignore_hard_deploy_errors:
- smoke
tempest:
default:
smoke: True
target_deploy_status:
traefik:
workload-status: active
workload-status-message-regex: '^$'
mysql:
workload-status: active
workload-status-message-regex: '^.*$'
vault:
workload-status: active
workload-status-message-regex: '^.*$'
tls-operator:
workload-status: active
workload-status-message-regex: '^$'
rabbitmq:
workload-status: active
workload-status-message-regex: '^$'
ovn-central:
workload-status: active
workload-status-message-regex: '^$'
keystone:
workload-status: active
workload-status-message-regex: '^$'
glance:
workload-status: active
workload-status-message-regex: '^$'
heat:
workload-status: active
workload-status-message-regex: '^.*$'
octavia:
workload-status: active
workload-status-message-regex: '^$'
barbican:
workload-status: active
workload-status-message-regex: '^$'
magnum:
workload-status: active
workload-status-message-regex: '^$'