Skip to content

Commit

Permalink
Fix typo error
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed May 31, 2024
1 parent 5f67d24 commit fef1b00
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/kubevirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,18 @@ jobs:
kubectl create -f https://operatorhub.io/install/community-kubevirt-hyperconverged.yaml
k get csv -A
sleep 20
k get csv -A
kubectl get csv -A
function csv_succeeded {
kubectl get csv xxxxxxx -o jsonpath='{.status.phase}'
}
# Loop until the CSV is Succeeded
until [[ $(csv_succeeded) == "Succeeded" ]]; do
echo "Waiting for CSV 'xxxxxx' to reach Succeeded phase..."
sleep 5
done
#echo "Waiting for KubeVirt to be ready"
#kubectl wait --for=condition=Available kubevirt kubevirt-hyperconverged --namespace=kubevirt-hyperconverged --timeout=5m
Expand Down

0 comments on commit fef1b00

Please sign in to comment.