Skip to content

Commit

Permalink
Merge pull request red-hat-storage#8292 from vavuthu/fix_ibm_deployem…
Browse files Browse the repository at this point in the history
…ents

MachineConfigPool skip for IBM Managed cloud
  • Loading branch information
petr-balogh authored Aug 21, 2023
2 parents 302cc6a + 79fa5e3 commit 0461cae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ocs_ci/utility/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ def get_and_apply_icsp_from_catalog(image, apply=True, insecure=False):

if apply and not config.DEPLOYMENT.get("disconnected"):
exec_cmd(f"oc apply -f {icsp_file_dest_location}")
wait_for_machineconfigpool_status("all")
managed_ibmcloud = (
config.ENV_DATA["platform"] == constants.IBMCLOUD_PLATFORM
and config.ENV_DATA["deployment_type"] == "managed"
)
if not managed_ibmcloud:
wait_for_machineconfigpool_status("all")

return icsp_file_dest_location

0 comments on commit 0461cae

Please sign in to comment.