
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
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
# to clear up any confusion:
|
|
# - tempest-k8s / tempest charm here is the charm that is part of the validation plugin, that runs tempest against a sunbeam deployment
|
|
# - tempest keys and tempest tests mentioned here are for an external tempest running tests against this test deployment
|
|
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
|
|
- zaza.openstack.charm_tests.nova.setup.create_flavors
|
|
- zaza.openstack.charm_tests.nova.setup.manage_ssh_key
|
|
tests:
|
|
- zaza.sunbeam.charm_tests.tempest_k8s.tests.TempestK8sTest
|
|
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: '^.*$'
|
|
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: '^$'
|
|
ovn-relay:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
keystone:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
glance:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
nova:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
placement:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
neutron:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|
|
# the tempest-k8s charm
|
|
tempest:
|
|
workload-status: active
|
|
workload-status-message-regex: '^$'
|