|
| 1 | +--- |
| 2 | +cifmw_deploy_obs: true |
| 3 | +cifmw_openshift_obs_definition: |
| 4 | + apiVersion: operators.coreos.com/v1alpha1 |
| 5 | + kind: Subscription |
| 6 | + metadata: |
| 7 | + name: observability-operator |
| 8 | + namespace: openshift-operators |
| 9 | + spec: |
| 10 | + channel: stable |
| 11 | + installPlanApproval: Automatic |
| 12 | + name: cluster-observability-operator |
| 13 | + source: redhat-operators |
| 14 | + sourceNamespace: openshift-marketplace |
| 15 | + |
| 16 | +pre_deploy_kustomize_cloudkitty: |
| 17 | + source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/configure-cloudkitty.yml" |
| 18 | + type: playbook |
| 19 | + |
| 20 | +pre_deploy_loki_setup: |
| 21 | + source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/cloudkitty-pre_deploy-install_loki.yml" |
| 22 | + type: playbook |
| 23 | +# test cloudkitty |
| 24 | +cifmw_run_tests: true |
| 25 | +cifmw_run_test_role: test_operator |
| 26 | +# TODO: Consider switching to podified-master-centos10 for features that patch master |
| 27 | +cifmw_test_operator_tempest_namespace: podified-antelope-centos9 |
| 28 | +# cloudkitty tempest plugin is not part of the tempest rpm. |
| 29 | +# https://review.rdoproject.org/cgit/openstack/tempest-distgit/tree/openstack-tempest.spec |
| 30 | +# We need to add the cloudkitty-tempest-plugin package to RDO, same as TTTP |
| 31 | +# https://review.rdoproject.org/cgit/openstack/telemetry-tempest-plugin-distgit/# |
| 32 | +# For now, we can force install using the cifmw_test_operator_tempest_external_plugin below. |
| 33 | +cifmw_test_operator_tempest_container: openstack-tempest-all |
| 34 | +cifmw_test_operator_tempest_image_tag: 'current-podified' |
| 35 | +# 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 |
| 36 | +# https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml |
| 37 | +# TODO: Refine this tempest config |
| 38 | +tempest_conf: |
| 39 | + overrides: | |
| 40 | + validation.run_validation true |
| 41 | + identity.v3_endpoint_type public |
| 42 | + service_available.ceilometer true |
| 43 | + service_available.sg_core true |
| 44 | + service_available.aodh true |
| 45 | + service_available.cinder false |
| 46 | + telemetry.sg_core_service_url "https://ceilometer-internal.openstack.svc.cluster.local:3000" |
| 47 | + telemetry.prometheus_service_url "https://metric-storage-prometheus.openstack.svc.cluster.local:9090" |
| 48 | + telemetry.ceilometer_polling_interval 120 |
| 49 | + telemetry.prometheus_scrape_interval 30 |
| 50 | + telemetry.alarm_threshold 50000000000 |
| 51 | +cifmw_test_operator_tempest_tempestconf_config: "{{ tempest_conf }}" |
| 52 | +cifmw_test_operator_tempest_include_list: | |
| 53 | + ^tempest.*\[.*\bsmoke\b.*\] |
| 54 | + cloudkitty_tempest_plugin.* |
| 55 | + telemetry_tempest_plugin.* |
| 56 | +# TODO: update this to allow multiple external plugins to be listed with Depends-On. |
| 57 | +# Potentially, this can be done via the meta content provider, by adding the tempest images to the list. |
| 58 | +external_plugin: "opendev.org/openstack/cloudkitty-tempest-plugin" |
| 59 | +change_item: "{{ zuul['items'] | selectattr('project.canonical_name', 'equalto', external_plugin) }}" |
| 60 | +# WORKAROUND: CloudKitty tempest is not packaged in RDO. Typically, the default would be [], since we would not require an external installation. |
| 61 | +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