From 1810983a57a9a735debeedf4739316a55151393a Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Wed, 3 Jun 2020 14:51:55 +0300 Subject: [PATCH] [Ubuntu] rollback azure-cli hardcode and install the latest version (#982) * rollback azure-cli hardcode * remove os.sh helper --- images/linux/scripts/installers/azure-cli.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/images/linux/scripts/installers/azure-cli.sh b/images/linux/scripts/installers/azure-cli.sh index af6e41963..713d23151 100644 --- a/images/linux/scripts/installers/azure-cli.sh +++ b/images/linux/scripts/installers/azure-cli.sh @@ -6,16 +6,9 @@ # Source the helpers for use with the script source $HELPER_SCRIPTS/document.sh -source $HELPER_SCRIPTS/os.sh # Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash -# Temporary downgrade to 2.5.1 installation until version 2.7.0 with the fix for the issue is not released https://github.com/actions/virtual-environments/issues/948 -# There is no 2.5.1 version for Ubuntu20 -if isUbuntu16 || isUbuntu18 ; then - label=$(getOSVersionLabel) - apt-get install -y --allow-downgrades azure-cli=2.5.1-1~$label -fi # Run tests to determine that the software installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work"