Skip to content

Commit 1cc7fcf

Browse files
committed
update ci/vars-cloudkitty-tempest.yml
1 parent 5d045e6 commit 1cc7fcf

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

ci/vars-cloudkitty-tempest.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
11
---
22
cifmw_run_tests: true
33
cifmw_run_test_role: test_operator
4-
cifmw_test_operator_tempest_namespace: podified-antelope-centos9
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.
510
cifmw_test_operator_tempest_container: openstack-tempest-all
611
cifmw_test_operator_tempest_image_tag: 'current-podified'
712
# 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
813
# https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml
914
tempest_conf:
1015
overrides: |
1116
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
1227
cifmw_test_operator_tempest_tempestconf_config: "{{ tempest_conf }}"
1328
cifmw_test_operator_tempest_include_list: |
1429
^tempest.*\[.*\bsmoke\b.*\]
1530
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
1634
1735
external_plugin: "opendev.org/openstack/cloudkitty-tempest-plugin"
1836
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

Comments
 (0)