From a355851508ed88ac6e9981638a994ac76c119732 Mon Sep 17 00:00:00 2001 From: Fede Alonso Date: Mon, 23 Oct 2023 17:18:53 +0200 Subject: [PATCH] Update ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh b/ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh index 19c38d483..a4df6c26d 100755 --- a/ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh +++ b/ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh @@ -73,7 +73,7 @@ function rerun_accelerator_migration() { dashboard_pods_avail=$(echo $dashboard_pods | cut -c1-1) ((remaining_seconds = timeout_seconds - SECONDS)) echo "Dashboard pods: Available $dashboard_pods_avail out of $dashboard_pods_total ... (timeout in $remaining_seconds seconds)" - if [ $dashboard_pods_avail == $dashboard_pods_total ]; then + if [ "$dashboard_pods_avail" == "$dashboard_pods_total" ]; then break else sleep $sleep_time