Skip to content

Commit

Permalink
feat: upgrade to azcopy v10.24.0 for volume clone feature
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Apr 8, 2024
1 parent cf1065a commit 3cf80c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .trivyignore

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/azurefileplugin/Dockerfile
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.23.0-20240129/azcopy_linux_amd64_10.23.0.tar.gz
ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_amd64_10.24.0.tar.gz
RUN if [ "$ARCH" == "arm64" ] ; then \
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.23.0-20240129/azcopy_linux_arm64_10.23.0.tar.gz; fi
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_arm64_10.24.0.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
Expand Up @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy"
if [ ! -f "$azcopyPath" ]; then
azcopyTarFile="azcopy.tar.gz"
echo 'Downloading azcopy...'
wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.23.0-20240129/azcopy_linux_amd64_10.23.0.tar.gz
wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_amd64_10.24.0.tar.gz
tar -zxvf $azcopyTarFile
mv ./azcopy*/azcopy /usr/local/bin/azcopy
rm -rf ./$azcopyTarFile
Expand Down

0 comments on commit 3cf80c0

Please sign in to comment.