Skip to content

Commit

Permalink
Merge pull request #1673 from kubernetes-sigs/upgrade-azcopy-10.22.2-…
Browse files Browse the repository at this point in the history
…1.28

[release-1.28] feat: upgrade azcopy version to 10.22.2 for volume clone feature
  • Loading branch information
andyzhangx committed Jan 18, 2024
2 parents 2969df0 + 1bff190 commit 9f8d729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/azurefileplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ COPY ${binary} /azurefileplugin
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates cifs-utils util-linux e2fsprogs mount udev xfsprogs nfs-common netbase wget

# install azcopy
ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.22.1-20231220/azcopy_linux_amd64_10.22.1.tar.gz
ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.22.2-20240110/azcopy_linux_amd64_10.22.2.tar.gz
RUN if [ "$ARCH" == "arm64" ] ; then \
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.22.1-20231220/azcopy_linux_arm64_10.22.1.tar.gz; fi
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.22.2-20240110/azcopy_linux_arm64_10.22.2.tar.gz; fi
RUN wget -O azcopy.tar.gz ${azcopyURL} && \
tar xvzf azcopy.tar.gz -C . && rm azcopy.tar.gz && \
mv ./azcopy_linux_$ARCH_*/azcopy /usr/local/bin/azcopy && \
Expand Down
2 changes: 1 addition & 1 deletion test/sanity/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy"
if [ ! -f "$azcopyPath" ]; then
echo 'Downloading azcopy...'
azcopyTarFile="azcopy.tar.gz"
wget -O $azcopyTarFile https://aka.ms/downloadazcopy-v10-linux
wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.22.2-20240110/azcopy_linux_arm64_10.22.2.tar.gz
tar -zxvf $azcopyTarFile
mv ./azcopy*/azcopy /usr/local/bin/azcopy
rm -rf ./$azcopyTarFile
Expand Down

0 comments on commit 9f8d729

Please sign in to comment.