Skip to content

Commit 20c90cf

Browse files
authored
Add job to run cloudkitty tests (#328)
* Add alias for cloudkitty job This is for testing to try work around the issue in openstack-k8s-operators/ci-framework#3400 * [zuul] Update cloudkitty job * Add vars and override-checkout to cloudkitty job * Add roles a required projects to job * Add hooks to run Cloudkitty fvts * [temp] Remove the irrelevant zuul jobs while PR is in development Once the PR is ready to merge, this commit can be dropped
1 parent 846ba3a commit 20c90cf

File tree

2 files changed

+30
-23
lines changed

2 files changed

+30
-23
lines changed

.zuul.yaml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,27 @@
156156
irrelevant-files: *irrelevant_files
157157
required-projects: *required_projects
158158

159+
- job:
160+
name: functional-chargeback-tests-osp18
161+
parent: telemetry-operator-multinode-cloudkitty
162+
description: |
163+
Alias of telemetry-operator-multinode-cloudkitty for testing
164+
irrelevant-files: []
165+
roles:
166+
- zuul: github.com/openstack-k8s-operators/ci-framework
167+
- zuul: github.com/infrawatch/feature-verification-tests
168+
required-projects:
169+
- name: github.com/openstack-k8s-operators/telemetry-operator
170+
override-checkout: main
171+
- name: github.com/infrawatch/feature-verification-tests
172+
vars:
173+
cifmw_extras:
174+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
175+
# Need a config for CK
176+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-cloudkitty-tempest.yml"
177+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
178+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-cloudkitty-fvt.yml"
179+
159180
- project:
160181
name: infrawatch/feature-verification-tests
161182
periodic:
@@ -167,26 +188,7 @@
167188
jobs:
168189
- telemetry-openstack-meta-content-provider-master:
169190
override-checkout: main
170-
- feature-verification-tests-noop:
171-
files: *irrelevant_files
172-
- functional-tests-osp18
173-
- functional-logging-tests-osp18:
174-
irrelevant-files: *irrelevant_files
175-
files:
176-
- roles/telemetry_logging/.*
177-
- roles/common/*
178-
- .zuul.yaml
179-
- ci/vars-logging-test.yml
180-
- ci/logging_tests_all.yml
181-
- ci/logging_tests_computes.yml
182-
- ci/logging_tests_controller.yml
183-
- ci/report_result.yml
184-
- .zuul.yaml
185-
- functional-periodic-telemetry-with-ceph:
186-
files:
187-
# Run this job for changes to the volume_pool_metrics test changes as this is
188-
# the only job, where those tests get executed and for changes to zuul.yaml in
189-
# case the job definition changes.
190-
- roles/telemetry_verify_metrics/tasks/verify_ceilometer_volume_pool_metrics.yml
191-
- .zuul.yaml
192-
191+
- functional-chargeback-tests-osp18:
192+
override-checkout: main
193+
dependencies:
194+
- telemetry-openstack-meta-content-provider-master

ci/vars-cloudkitty-fvt.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
pre_tests_01_run_chargeback_tests:
3+
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/chargeback_tests.yml"
4+
type: playbook
5+
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"

0 commit comments

Comments
 (0)