Skip to content

Commit 594af57

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

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-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: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,43 @@
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: *functional_autoscaling_extra_vars
84+
vars:
85+
#patch_observabilityclient: true
86+
cifmw_update_containers: false
87+
cifmw_extras:
88+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
89+
# Deploys logging dependencies (e.g. loki)
90+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-logging.yml"
91+
# Need a config for CK
92+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-cloudkitty-tempest.yml"
93+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
94+
roles:
95+
- zuul: github.com/openstack-k8s-operators/ci-framework
96+
irrelevant-files: &irrelevant_files
97+
- .github/.*
98+
- ci/github/.*
99+
- callback_plugins/.*
100+
- README*
101+
- OWNERS*
102+
- .*/*.md
103+
- roles/client_side_tests/.*
104+
- roles/test_alerts/.*
105+
- roles/test_collectd/.*
106+
- roles/test_metrics_retention/.*
107+
- roles/test_observability_strategy/.*
108+
- roles/test_qdr/.*
109+
- roles/test_sensubility/.*
110+
- roles/test_snmp_traps/.*
111+
- roles/test_verify_email/.*
112+
113+
77114
- project-template:
78115
name: rdo-telemetry-tempest-plugin-jobs
79116
openstack-experimental:
@@ -106,6 +143,7 @@
106143
templates:
107144
- podified-multinode-edpm-pipeline
108145
github-check:
146+
debug: true
109147
jobs:
110148
- telemetry-operator-multinode-default-telemetry
111149
- functional-graphing-tests-osp18:

0 commit comments

Comments
 (0)