
This is to verify that the tempest-k8s charm deploys successfully (reaches active/idle, the tempest environment was set up successfully), and doesn't adversely impact the rest of the sunbeam deployment. Func tests with this charm have been observed to be unstable (unexpected errors running certain tests), so for now only minimal tests are added, and it has been implemented in its own new test bundle. This new test bundle is only triggered on changes in tempest-k8s code, so it shouldn't affect the CI for other charms if it becomes unstable. We still need to add more tests and debug the issues we were seeing, but in the interests of time, we aim to implement these tests and debug the issues in follow up patches. Change-Id: I548eb07ed1eb9e67c46f62a16d36bfaec83d7040
59 lines
1.7 KiB
YAML
59 lines
1.7 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.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: '^$'
|