Skip to content

Commit b240e82

Browse files
authored
[ci] Add endpoint tests to the logging job (#220)
* [ci] Add endpoint tests to the logging job The test checks for the various openstack endpoints that we expect to exist Co-authored-by: "Alex Yefimov <[email protected]>" * [ci] Add vars/osp18_env to the logging playbook It contains the "openstack_cmd" var required for the endpoint tests * [common] Add documentation and default for openstack_cmd
1 parent 956c524 commit b240e82

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

ci/logging_tests_controller.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
environment:
77
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
88
PATH: "{{ cifmw_path }}"
9+
vars_files:
10+
- vars/osp18_env.yml
911
vars:
1012
common_pod_test_id: "RHOSO-12672"
1113
common_pod_status_str: "Running"
@@ -23,6 +25,25 @@
2325
- openshift
2426
- openstack-operators
2527
- openshift-logging
28+
common_endpoint_test_id: "RHOSO-12682"
29+
common_endpoint_list:
30+
- [nova,compute,public]
31+
- [nova,compute,internal]
32+
- [placement,placement,public]
33+
- [placement,placement,internal]
34+
- [swift,object-store,public]
35+
- [swift,object-store,internal]
36+
- [cinderv3,volumev3,public]
37+
- [cinderv3,volumev3,internal]
38+
- [barbican,key-manager,public]
39+
- [barbican,key-manager,internal]
40+
- [keystone,identity,public]
41+
- [keystone,identity,internal]
42+
- [glance,image,public]
43+
- [glance,image,internal]
44+
- [neutron,network,public]
45+
- [neutron,network,internal]
46+
2647
common_service_test_id: "RHOSO-12675"
2748
common_service_nspace: openshift-logging
2849
common_service_list:

roles/common/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ For endpoint_tests.yml tasks:
5858
- polarion ID number for each test.
5959
common_endpoint_list
6060
- list of endpoints to validate
61-
61+
openstack_cmd
62+
- The command used to run openstack
6263

6364
For project_tests.yml tasks:
6465

roles/common/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
openstack_cmd: "openstack"

0 commit comments

Comments
 (0)