Skip to content

Commit 54f8454

Browse files
myadlaelfiesmelfie
authored andcommitted
[ci] Add run_chargeback_tests playbook
Jira: OSPRH-21447 Validate all applicable pods, services and containers are running
1 parent ac5c3d5 commit 54f8454

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

ci/run_chargeback_tests.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
- name: "Verify all the applicable projects, endpoints, pods & services for cloudkitty"
3+
hosts: "{{ cifmw_target_hook_host | default('localhost') }}"
4+
gather_facts: no
5+
ignore_errors: true
6+
environment:
7+
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
8+
PATH: "{{ cifmw_path }}"
9+
vars_files:
10+
- vars/osp18_env.yml
11+
vars:
12+
common_pod_status_str: "Running"
13+
common_pod_nspace: openstack
14+
common_pod_list:
15+
- cloudkitty-api
16+
- cloudkitty-lokistack-compactor
17+
- cloudkitty-lokistack-distributor
18+
- cloudkitty-lokistack-gateway
19+
- cloudkitty-lokistack-index-gateway
20+
- cloudkitty-lokistack-ingester
21+
- cloudkitty-lokistack-querier
22+
- cloudkitty-lokistack-query-frontend
23+
24+
common_project_list:
25+
- openstack
26+
- openstack-operators
27+
28+
common_endpoint_list:
29+
- [cloudkitty,rating,public]
30+
- [cloudkitty,rating,internal]
31+
32+
common_service_nspace: openstack
33+
common_service_list:
34+
- cloudkitty-internal
35+
- cloudkitty-lokistack-compactor-grpc
36+
- cloudkitty-lokistack-compactor-http
37+
- cloudkitty-lokistack-distributor-grpc
38+
- cloudkitty-lokistack-distributor-http
39+
- cloudkitty-lokistack-gateway-http
40+
- cloudkitty-lokistack-gossip-ring
41+
- cloudkitty-lokistack-index-gateway-grpc
42+
- cloudkitty-lokistack-index-gateway-http
43+
- cloudkitty-lokistack-ingester-grpc
44+
- cloudkitty-lokistack-ingester-http
45+
- cloudkitty-lokistack-querier-grpc
46+
- cloudkitty-lokistack-querier-http
47+
- cloudkitty-lokistack-query-frontend-grpc
48+
- cloudkitty-lokistack-query-frontend-http
49+
- cloudkitty-public
50+
51+
tasks:
52+
- name: "Verify cloudkitty infrastructure components"
53+
ansible.builtin.import_role:
54+
name: common

0 commit comments

Comments
 (0)