mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
ci: azure: Workaround azure cli installation script
This is done in order to work around https://github.com/Azure/azure-cli/issues/28984, following a suggestion on the very same issue. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
a92defdffe
commit
5ff53e4d1c
@ -62,7 +62,14 @@ function enable_cluster_http_application_routing() {
|
||||
}
|
||||
|
||||
function install_azure_cli() {
|
||||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
||||
# 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
|
||||
|
||||
# The aks-preview extension is required while the Mariner Kata host is in preview.
|
||||
az extension add --name aks-preview
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user