From 0d33d5be9082ee5012cf67dc26bd4754d35408c5 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Reddy Anchala Date: Tue, 25 Jun 2024 18:56:03 +0530 Subject: [PATCH] add warump script for az cli --- images/ubuntu/scripts/build/install-azure-cli.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/ubuntu/scripts/build/install-azure-cli.sh b/images/ubuntu/scripts/build/install-azure-cli.sh index 0004f7bdef63..1791755c2688 100644 --- a/images/ubuntu/scripts/build/install-azure-cli.sh +++ b/images/ubuntu/scripts/build/install-azure-cli.sh @@ -12,4 +12,11 @@ echo "azure-cli https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-lin rm -f /etc/apt/sources.list.d/azure-cli.list rm -f /etc/apt/sources.list.d/azure-cli.list.save +echo "Warmup 'az'" +az --help > /dev/null +if [ $? -ne 0 ]; then + echo "Command 'az --help' failed" + exit 1 +fi + invoke_tests "CLI.Tools" "Azure CLI"