|
2 | 2 | cifmw_run_tests: true |
3 | 3 | cifmw_run_test_role: test_operator |
4 | 4 | cifmw_test_operator_tempest_namespace: podified-antelope-centos9 |
| 5 | +# cloudkitty tempest plugin is not part of the tempest rpm. |
| 6 | +# https://review.rdoproject.org/cgit/openstack/tempest-distgit/tree/openstack-tempest.spec |
| 7 | +# We need to add the cloudkitty-tempest-plugin package to RDO, same as TTTP |
| 8 | +# https://review.rdoproject.org/cgit/openstack/telemetry-tempest-plugin-distgit/# |
| 9 | +# For now, we can force install using the cifmw_test_operator_tempest_external_plugin below. |
5 | 10 | cifmw_test_operator_tempest_container: openstack-tempest-all |
6 | 11 | cifmw_test_operator_tempest_image_tag: 'current-podified' |
7 | 12 | # 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 |
8 | 13 | # https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml |
9 | 14 | tempest_conf: |
10 | 15 | overrides: | |
11 | 16 | validation.run_validation true |
| 17 | + identity.v3_endpoint_type public |
| 18 | + service_available.ceilometer true |
| 19 | + service_available.sg_core true |
| 20 | + service_available.aodh false |
| 21 | + service_available.cinder false |
| 22 | + telemetry.sg_core_service_url "https://ceilometer-internal.openstack.svc.cluster.local:3000" |
| 23 | + telemetry.prometheus_service_url "https://metric-storage-prometheus.openstack.svc.cluster.local:9090" |
| 24 | + telemetry.ceilometer_polling_interval 120 |
| 25 | + telemetry.prometheus_scrape_interval 30 |
| 26 | + telemetry.alarm_threshold 50000000000 |
12 | 27 | cifmw_test_operator_tempest_tempestconf_config: "{{ tempest_conf }}" |
13 | 28 | cifmw_test_operator_tempest_include_list: | |
14 | 29 | ^tempest.*\[.*\bsmoke\b.*\] |
15 | 30 | cloudkitty_tempest_plugin.* |
| 31 | + telemetry_tempest_plugin.* |
| 32 | +cifmw_test_operator_tempest_exclude_list: | |
| 33 | + telemetry_tempest_plugin.scenario.test_telemetry_integration_prometheus.PrometheusGabbiTest.test_autoscaling |
16 | 34 |
|
17 | 35 | external_plugin: "opendev.org/openstack/cloudkitty-tempest-plugin" |
18 | 36 | change_item: "{{ zuul['items'] | selectattr('project.canonical_name', 'equalto', external_plugin) }}" |
19 | | -cifmw_test_operator_tempest_external_plugin: "{{ [] if change_item | length < 1 else [ { 'repository': 'https://' + external_plugin + '.git', 'changeRepository': 'https://review' + external_plugin, 'changeRefspec': [ 'refs/changes', change_item[0].change[-2:], change_item[0].change, change_item[0].patchset ] | join('/') } ] }}" |
| 37 | +# This is a workaround because CK tempest is not packages in RDO. Typically, the default would be [], since we would not require an external installation. |
| 38 | +cifmw_test_operator_tempest_external_plugin: "{{ [ {'repository': 'https://' + external_plugin + '.git'} ] if change_item | length < 1 else [ { 'repository': 'https://' + external_plugin + '.git', 'changeRepository': 'https://review' + external_plugin, 'changeRefspec': [ 'refs/changes', change_item[0].change[-2:], change_item[0].change, change_item[0].patchset ] | join('/') } ] }}" |
0 commit comments