From b43a60221dd644416a5f571d86ebb2f9b08705fe Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Thu, 1 Aug 2024 08:59:40 +0000 Subject: [PATCH] feat: upgrade to azcopy v10.26.0 for volume clone and snapshot restore --- .trivyignore | 1 - pkg/blobplugin/Dockerfile | 4 ++-- test/sanity/run-test.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .trivyignore diff --git a/.trivyignore b/.trivyignore deleted file mode 100644 index aa862cb02..000000000 --- a/.trivyignore +++ /dev/null @@ -1 +0,0 @@ -CVE-2024-24791 diff --git a/pkg/blobplugin/Dockerfile b/pkg/blobplugin/Dockerfile index 7f4752e47..d1c3863e8 100644 --- a/pkg/blobplugin/Dockerfile +++ b/pkg/blobplugin/Dockerfile @@ -44,9 +44,9 @@ else \ RUN tar xvzf aznfs.tar.gz -C / --keep-directory-symlink && rm aznfs.tar.gz # install azcopy -ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.25.1-20240612/azcopy_linux_amd64_10.25.1.tar.gz +ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_amd64_10.26.0.tar.gz RUN if [ "$ARCH" == "arm64" ] ; then \ - azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.25.1-20240612/azcopy_linux_arm64_10.25.1.tar.gz; fi + azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_arm64_10.26.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 && \ diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index f7e65eea4..32138a478 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -36,7 +36,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.25.1-20240612/azcopy_linux_amd64_10.25.1.tar.gz + wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_amd64_10.26.0.tar.gz tar -zxvf $azcopyTarFile mv ./azcopy*/azcopy /usr/local/bin/azcopy rm -rf ./$azcopyTarFile