[Ubuntu] Temporary pin the AzCopy version (#8982)

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
Alexey-Ayupov
2023-12-11 13:07:50 +01:00
committed by GitHub
parent 0e46595f81
commit 76d6f0f574
2 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,8 @@
source $HELPER_SCRIPTS/install.sh source $HELPER_SCRIPTS/install.sh
# Install AzCopy10 # Install AzCopy10
archive_path=$(download_with_retry "https://aka.ms/downloadazcopy-v10-linux") # Temporary pin 10.21.2 version of AzCopy until 10.22.0 is fixed
archive_path=$(download_with_retry "https://azcopyvnext.azureedge.net/releases/release-10.21.2-20231106/azcopy_linux_amd64_10.21.2.tar.gz")
tar xzf "$archive_path" --strip-components=1 -C /tmp tar xzf "$archive_path" --strip-components=1 -C /tmp
install /tmp/azcopy /usr/local/bin/azcopy install /tmp/azcopy /usr/local/bin/azcopy
# Create azcopy 10 alias for backward compatibility # Create azcopy 10 alias for backward compatibility

View File

@@ -10,7 +10,7 @@ function Get-AptFastVersion {
} }
function Get-AzCopyVersion { function Get-AzCopyVersion {
$azcopyVersion = azcopy --version | Get-StringPart -Part 2 $azcopyVersion = [string]$(azcopy --version) | Get-StringPart -Part 2
return "$azcopyVersion - available by ``azcopy`` and ``azcopy10`` aliases" return "$azcopyVersion - available by ``azcopy`` and ``azcopy10`` aliases"
} }