mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-12 10:08:09 +00:00
hardcode wget to use TLSv1.2 (#717)
This commit is contained in:
@ -7,10 +7,12 @@ set -ex
|
|||||||
|
|
||||||
mkdir -p artifacts/azcopy
|
mkdir -p artifacts/azcopy
|
||||||
|
|
||||||
wget --retry-connrefused -t 30 --waitretry=5 -O azcopy.zip https://aka.ms/downloadazcopy-v10-windows
|
# NOTE: hard-coded to TLSv1.2 per aka.ms team to work around download failures
|
||||||
|
wget --secure-protocol=TLSv1_2 --retry-connrefused -t 30 --waitretry=5 -O azcopy.zip https://aka.ms/downloadazcopy-v10-windows
|
||||||
unzip azcopy.zip
|
unzip azcopy.zip
|
||||||
mv azcopy_windows*/* artifacts/azcopy/
|
mv azcopy_windows*/* artifacts/azcopy/
|
||||||
|
|
||||||
wget --retry-connrefused -t 30 --waitretry=5 -O azcopy.tgz https://aka.ms/downloadazcopy-v10-linux
|
# NOTE: hard-coded to TLSv1.2 per aka.ms team to work around download failures
|
||||||
|
wget --secure-protocol=TLSv1_2 --retry-connrefused -t 30 --waitretry=5 -O azcopy.tgz https://aka.ms/downloadazcopy-v10-linux
|
||||||
tar zxvf azcopy.tgz
|
tar zxvf azcopy.tgz
|
||||||
mv azcopy_linux_amd64*/* artifacts/azcopy/
|
mv azcopy_linux_amd64*/* artifacts/azcopy/
|
||||||
|
Reference in New Issue
Block a user