Do not stop loop on error 17/3617/1
authorYolanda Robla <yroblamo@redhat.com>
Fri, 10 Jul 2020 09:55:11 +0000 (11:55 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Fri, 10 Jul 2020 09:55:11 +0000 (11:55 +0200)
commit91d71c929645d6a5b91a9f9961ccf0a41a0c5fbc
treed499f07ab76fb986df7544d4bdf656c282161196
parent1120f2d900fc0f0f166254bd0006fb622cf1a07c
Do not stop loop on error

It can be the case that the oc get nodes api is returning EOF,
which is causing an error and is breaking the loop befor time.
Change the way we capture the nodes, by allowing failure, then
compute the ready nodes.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I176682c2206075c221ab8d3e634a11cfc4c539d0
ci/kni_deploy_baremetal.sh