Skip to content

Commit a7ad3f4

Browse files
committed
[zuul] Add a CloudKitty CI job
1 parent 9d18f92 commit a7ad3f4

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

ci/vars-cloudkitty-tempest.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
cifmw_run_tests: true
3+
cifmw_run_test_role: test_operator
4+
cifmw_test_operator_tempest_namespace: podified-antelope-centos9
5+
cifmw_test_operator_tempest_container: openstack-tempest-all
6+
cifmw_test_operator_tempest_image_tag: 'current-podified'
7+
# 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+
# https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml
9+
tempest_conf:
10+
overrides: |
11+
validation.run_validation true
12+
cifmw_test_operator_tempest_tempestconf_config: "{{ tempest_conf }}"
13+
cifmw_test_operator_tempest_include_list: |
14+
^tempest.*\[.*\bsmoke\b.*\]
15+
cloudkitty_tempest_plugin.*
16+
17+
external_plugin: "opendev.org/openstack/cloudkitty-tempest-plugin"
18+
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('/') } ] }}"

zuul.d/projects.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,31 @@
7474
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"
7575
irrelevant-files: *irrelevant_files
7676

77+
- job:
78+
name: telemetry-operator-multinode-cloudkitty
79+
dependencies: ["telemetry-openstack-meta-content-provider-master"]
80+
parent: telemetry-operator-multinode-autoscaling
81+
description: |
82+
Deploy CloudKitty and run tempest tests
83+
extra-vars: &extra_vars_for_jobs_using_meta_content_provider
84+
# Override zuul meta content provider provided content_provider_dlrn_md5_hash
85+
# var. As returned dlrn md5 hash comes from master release but job is using
86+
# antelope content.
87+
content_provider_dlrn_md5_hash: ''
88+
vars:
89+
#patch_observabilityclient: true
90+
cifmw_update_containers: false
91+
cifmw_extras:
92+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
93+
# Deploys logging dependencies (e.g. loki)
94+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-logging.yml"
95+
# Need a config for CK
96+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-cloudkitty-tempest.yml"
97+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
98+
roles:
99+
- zuul: github.com/openstack-k8s-operators/ci-framework
100+
irrelevant-files: *irrelevant_files
101+
77102
- project-template:
78103
name: rdo-telemetry-tempest-plugin-jobs
79104
openstack-experimental:
@@ -106,6 +131,7 @@
106131
templates:
107132
- podified-multinode-edpm-pipeline
108133
github-check:
134+
debug: true
109135
jobs:
110136
- telemetry-operator-multinode-default-telemetry
111137
- functional-graphing-tests-osp18:

0 commit comments

Comments
 (0)