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

63 lines
1.8 KiB
YAML

gate_bundles:
- smoke
smoke_bundles:
- smoke
configure:
- zaza.sunbeam.charm_tests.k8s.setup.add_loadbalancer_annotations
- zaza.charm_tests.noop.setup.basic_setup
# https://bugs.launchpad.net/snap-openstack/+bug/2045206
# - zaza.openstack.charm_tests.keystone.setup.wait_for_all_endpoints
tests:
- zaza.charm_tests.noop.tests.NoopTest
# Tests commented until bug fix for https://bugs.launchpad.net/snap-openstack/+bug/2045206
# - zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneMinimal
# - zaza.openstack.charm_tests.keystone.tests_ldap_k8s.LdapExplicitCharmConfigTestsK8S
# - zaza.openstack.charm_tests.openstack_exporter.tests.OpenstackExporterTest
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: '^.*$'
ldap-server:
workload-status: active
workload-status-message-regex: '^$'
rabbitmq:
workload-status: active
workload-status-message-regex: '^$'
keystone:
workload-status: waiting
workload-status-message-regex: '^.*domain-config.*integration incomplete.*$|^$'
designate-bind:
workload-status: active
workload-status-message-regex: '^.*$'
designate:
workload-status: active
workload-status-message-regex: '^.*$'
keystone-ldap:
workload-status: active
workload-status-message-regex: '^$'
openstack-exporter:
workload-status: active
workload-status-message-regex: '^$'
horizon:
workload-status: active
workload-status-message-regex: '^$'
masakari:
workload-status: active
workload-status-message-regex: '^$'
consul:
workload-status: active
workload-status-message-regex: '^$'