Skip to content

Commit db38eab

Browse files
committed
[zuul][tempest] Update job to use test_operator to run tempest
* Update value of cifmw_tempest_tempestconf_config var in tempest job The cifmw_tempest_tempestconf_config is passed to the tempest CR[2] by the test_operator role [1] The var needs to be updated to match the expected format [1] https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml [2] https://openstack-k8s-operators.github.io/test-operator/crds.html#tempest-custom-resource * Remove comments from the tempest config override The config overrides lines are combined together into a single-line string, rather than read into some array. The comments make the format invalid * Update includeList and excludeList vars format
1 parent e4eacb4 commit db38eab

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

zuul.d/projects.yaml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,31 @@
4242
name: telemetry-operator-multinode-autoscaling-tempest
4343
parent: telemetry-operator-multinode-autoscaling
4444
vars:
45-
cifmw_tempest_container: openstack-tempest-all
46-
cifmw_tempest_tempestconf_profile:
47-
overrides:
48-
compute-feature-enabled.vnc_console: true
49-
validation.run_validation: true
50-
# NOTE(gibi): This is a WA to force the publicURL as otherwise
51-
# tempest gets configured with adminURL and that causes test
52-
# instability.
53-
identity.v3_endpoint_type: public
54-
identity.v2_admin_endpoint_type: public
55-
service_available.ceilometer: true
56-
service_available.sg_core: true
57-
telemetry.sg_core_service_url: "ceilometer.openstack.svc.cluster.local:3000"
58-
# NOTE(efoley): First step is to get ANY tempest jobs running to confirm a working config
59-
cifmw_tempest_tests_allowed: # need to see ciframwework roles that use these vars, to see how to enable telemetry
60-
- telemetry_tempest_plugin.scenario
61-
- telemetry_tempest_plugin.aodh
62-
cifmw_tempest_tests_skipped: []
45+
test_fw: test_operator
46+
cifmw_test_operator_tempest_container: openstack-tempest-all
47+
cifmw_test_operator_tempest_image_tag: 'current-podified'
48+
cifmw_test_operator_tempest_external_plugin:
49+
- repository: "https://opendev.org/openstack/telemetry-tempest-plugin.git"
50+
changeRepository: "https://review.opendev.org/openstack/telemetry-tempest-plugin"
51+
changeRefspec: "master"
52+
# This value is used to populate the `tempestconfRun` parameter of the Tempest CR: https://openstack-k8s-operators.github.io/test-operator/crds.html#tempest-custom-resource
53+
# https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml
54+
cifmw_tempest_tempestconf_config:
55+
# NOTE(gibi): This is a WA to force the publicURL as otherwise
56+
# tempest gets configured with adminURL and that causes test
57+
# instability.
58+
overrides: |
59+
compute-feature-enabled.vnc_console true
60+
validation.run_validation true
61+
identity.v3_endpoint_type public
62+
identity.v2_admin_endpoint_type public
63+
service_available.ceilometer true
64+
service_available.sg_core true
65+
telemetry.sg_core_service_url "ceilometer.openstack.svc.cluster.local:3000"
66+
cifmw_test_operator_tempest_include_list: |
67+
telemetry_tempest_plugin.scenario
68+
telemetry_tempest_plugin.aodh
69+
cifmw_test_operator_tempest_exclude_list: ''
6370

6471
- project:
6572
name: openstack-k8s-operators/telemetry-operator

0 commit comments

Comments
 (0)