Skip to content

Commit 0a88450

Browse files
committed
[zuul] Add a CloudKitty CI job
1 parent 6c42079 commit 0a88450

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
@@ -103,6 +103,31 @@
103103
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"
104104
irrelevant-files: *irrelevant_files
105105

106+
- job:
107+
name: telemetry-operator-multinode-cloudkitty
108+
dependencies: ["telemetry-openstack-meta-content-provider-master"]
109+
parent: telemetry-operator-multinode-autoscaling
110+
description: |
111+
Deploy CloudKitty and run tempest tests
112+
extra-vars: &extra_vars_for_jobs_using_meta_content_provider
113+
# Override zuul meta content provider provided content_provider_dlrn_md5_hash
114+
# var. As returned dlrn md5 hash comes from master release but job is using
115+
# antelope content.
116+
content_provider_dlrn_md5_hash: ''
117+
vars:
118+
#patch_observabilityclient: true
119+
cifmw_update_containers: false
120+
cifmw_extras:
121+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
122+
# Deploys logging dependencies (e.g. loki)
123+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-logging.yml"
124+
# Need a config for CK
125+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-cloudkitty-tempest.yml"
126+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
127+
roles:
128+
- zuul: github.com/openstack-k8s-operators/ci-framework
129+
irrelevant-files: *irrelevant_files
130+
106131
- project-template:
107132
name: rdo-telemetry-tempest-plugin-jobs
108133
openstack-experimental:
@@ -135,6 +160,7 @@
135160
templates:
136161
- podified-multinode-edpm-pipeline
137162
github-check:
163+
debug: true
138164
jobs:
139165
- telemetry-openstack-meta-content-provider-master
140166
- telemetry-operator-multinode-default-telemetry

0 commit comments

Comments
 (0)