You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/validate_operator_bundle/tasks/main.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@
59
59
60
60
- name: "Fail if Pyxis response is not 200"
61
61
fail:
62
-
msg: "Error collecting OCP version range from Pyxis. Error message: {{ supported_indices_json.content }}"
62
+
msg: "Error collecting OCP version range from Pyxis - status {{ supported_indices_json.status }}. Error message: {{ supported_indices_json.content }}"
63
63
when: supported_indices_json.status != 200
64
64
65
65
- name: "Convert output to map"
@@ -71,8 +71,8 @@
71
71
msg: "Indices: {{ supported_indices['data'] }}"
72
72
73
73
- name: "Set support_v4_9 to false if there are no supported versions"
74
-
set_fact:
75
-
support_v4_9: false
74
+
fail:
75
+
msg: "No supported OCP versions found in Pyxis. Please verify that the version label '{{ ocp_version_annotation }} 'is valid and includes a currently-supported OCP version"
0 commit comments