From 059ce39939dd7779abb71baeee51313d31c8ff15 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Thu, 30 Jan 2025 02:38:23 +0000 Subject: [PATCH] chore: upgrade azcopy to v10.28.0 --- .github/workflows/trivy.yaml | 2 +- .trivyignore | 4 ++-- pkg/azurefileplugin/Dockerfile | 2 +- test/sanity/run-test.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 1099fc221c..2fc8629ade 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -12,7 +12,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.5 id: go - name: Checkout code diff --git a/.trivyignore b/.trivyignore index bf6ad0ef3d..263f61ce2f 100644 --- a/.trivyignore +++ b/.trivyignore @@ -1,2 +1,2 @@ -CVE-2024-45337 -CVE-2024-45338 +CVE-2024-45336 +CVE-2024-45341 diff --git a/pkg/azurefileplugin/Dockerfile b/pkg/azurefileplugin/Dockerfile index a1e49ae21f..33df41458c 100644 --- a/pkg/azurefileplugin/Dockerfile +++ b/pkg/azurefileplugin/Dockerfile @@ -22,7 +22,7 @@ ARG ARCH RUN apt update \ && apt install -y curl \ - && curl -Ls https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_linux_${ARCH}_10.27.1.tar.gz \ + && curl -Ls https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.28.0-20250127/azcopy_linux_${ARCH}_10.28.0.tar.gz \ | tar xvzf - --strip-components=1 -C /usr/local/bin/ --wildcards "*/azcopy" FROM base diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index 8b2f68db8d..e66ac06761 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy" if [ ! -f "$azcopyPath" ]; then azcopyTarFile="azcopy.tar.gz" echo 'Downloading azcopy...' - wget -O $azcopyTarFile azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_linux_amd64_10.27.1.tar.gz + wget -O $azcopyTarFile azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.28.0-20250127/azcopy_linux_amd64_10.28.0.tar.gz tar -zxvf $azcopyTarFile mv ./azcopy*/azcopy /usr/local/bin/azcopy rm -rf ./$azcopyTarFile