@@ -26,14 +26,23 @@ Variable required for all tasks to run
2626
2727For pod_tests.yml tasks:
2828
29- common_pod_test_id
30- - polarion ID number for each test.
3129 common_pod_list
32- - list of pods to validate
30+ (list) the list of pods to validate
31+ Each list value can take one of two forms
32+ - (string) the names of the pods to validate
33+ - (dict) with name, nspace, status_str and (optionally) test_id elements.
34+ When a list of strings is used, the other values (listed below) are required.
35+ When the list of dicts is used, the types match the vars below
36+
37+ common_pod_test_id (optional)
38+ - (string) polarion ID number for each test.
39+ This is used as the default value for common_pod_list.test_id
3340 common_pod_status_str
34- - status of pods to check
41+ - (string) status of pods to check e.g. "Running", "Completed", etc
42+ This is used as the default value for common_pod_list.status_str
3543 common_pod_nspace
36- - list of projects where pods exist
44+ - (string) The namespace where the pod should exist.
45+ This is also used as default for the common_pod_list.nspace
3746
3847
3948For subscription_tests.yml tasks:
@@ -137,6 +146,9 @@ can be set at the play level.
137146 common_pod_nspace: openstack
138147 common_pod_list:
139148 - openstackclient
149+ - name: cluster-logging-operator
150+ nspace: openshift-logging
151+ # the status_str and test_id will default to the common_pod_ * vars
140152
141153 - name: "Verify subscription"
142154 ansible.builtin.import_role:
0 commit comments