1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-08 16:37:32 +00:00

Revert "ci: azure: Workaround azure cli installation script"

This reverts commit 5ff53e4d1c, as the
script was fixed by MSFT, at least according to:
https://github.com/Azure/azure-cli/issues/28984

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2024-05-20 14:38:46 +02:00
parent 5b257685d9
commit 25c9cf32ff
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B

View File

@ -62,14 +62,7 @@ function enable_cluster_http_application_routing() {
}
function install_azure_cli() {
# This is a workaround for https://github.com/Azure/azure-cli/issues/28984
# which ended up breaking our CI.
curl -sL https://aka.ms/InstallAzureCLIDeb -o installAzureCli.sh
sed -i '/curl -sLS https:\/\/packages.microsoft.com\/keys\/microsoft.asc |/d' installAzureCli.sh
sed -i '/gpg --dearmor -o \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
sed -i '/chmod go+r \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
sudo bash installAzureCli.sh
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# The aks-preview extension is required while the Mariner Kata host is in preview.
az extension add --name aks-preview
}