mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
Update vcpkg tool to resolve leak of the asset cache token (#18720)
This commit is contained in:
parent
8573c7002e
commit
75beef03d6
@ -14,9 +14,9 @@ jobs:
|
|||||||
value: /mnt/vcpkg-ci
|
value: /mnt/vcpkg-ci
|
||||||
- name: VCPKG_DOWNLOADS
|
- name: VCPKG_DOWNLOADS
|
||||||
value: /mnt/vcpkg-ci/downloads
|
value: /mnt/vcpkg-ci/downloads
|
||||||
- group: azblob-test-sas-group
|
- group: vcpkg-asset-caching-credentials
|
||||||
- name: X_VCPKG_ASSET_SOURCES
|
- name: X_VCPKG_ASSET_SOURCES
|
||||||
value: "x-azurl,$(azblob-root-url),$(azblob-test-sas),readwrite"
|
value: "x-azurl,$(root-url),$(sas),readwrite"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- bash: df -h
|
- bash: df -h
|
||||||
|
@ -17,8 +17,9 @@ jobs:
|
|||||||
- group: osx-2021-04-16
|
- group: osx-2021-04-16
|
||||||
- name: BINARY_SOURCE_STUB
|
- name: BINARY_SOURCE_STUB
|
||||||
value: "x-azblob,$(azblob-root-url),$(azblob-test-sas)"
|
value: "x-azblob,$(azblob-root-url),$(azblob-test-sas)"
|
||||||
|
- group: vcpkg-asset-caching-credentials
|
||||||
- name: X_VCPKG_ASSET_SOURCES
|
- name: X_VCPKG_ASSET_SOURCES
|
||||||
value: "x-azurl,$(azblob-root-url),$(azblob-test-sas),readwrite"
|
value: "x-azurl,$(root-url),$(sas),readwrite"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- bash: df -h
|
- bash: df -h
|
||||||
|
@ -14,9 +14,9 @@ jobs:
|
|||||||
value: D:\
|
value: D:\
|
||||||
- name: VCPKG_DOWNLOADS
|
- name: VCPKG_DOWNLOADS
|
||||||
value: D:\downloads
|
value: D:\downloads
|
||||||
- group: azblob-test-sas-group
|
- group: vcpkg-asset-caching-credentials
|
||||||
- name: X_VCPKG_ASSET_SOURCES
|
- name: X_VCPKG_ASSET_SOURCES
|
||||||
value: "x-azurl,$(azblob-root-url),$(azblob-test-sas),readwrite"
|
value: "x-azurl,$(root-url),$(sas),readwrite"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
|
@ -45,7 +45,7 @@ while (!($vcpkgRootDir -eq "") -and !(Test-Path "$vcpkgRootDir\.vcpkg-root"))
|
|||||||
|
|
||||||
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
||||||
|
|
||||||
& "$scriptsDir/tls12-download.exe" github.com "/microsoft/vcpkg-tool/releases/download/2021-06-19/vcpkg.exe" "$vcpkgRootDir\vcpkg.exe"
|
& "$scriptsDir/tls12-download.exe" github.com "/microsoft/vcpkg-tool/releases/download/2021-06-29/vcpkg.exe" "$vcpkgRootDir\vcpkg.exe"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
|
|
||||||
if ($LASTEXITCODE -ne 0)
|
if ($LASTEXITCODE -ne 0)
|
||||||
|
@ -278,8 +278,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Do the build
|
# Do the build
|
||||||
vcpkgToolReleaseTag="2021-06-19"
|
vcpkgToolReleaseTag="2021-06-29"
|
||||||
vcpkgToolReleaseSha="e9626023b5b545ac88985a0b1bec2d1784f2c5724cc23c6dacf7bf5851c1c7b34649d11192bcd20e41a6340dc6a8d557cace20016a0e121cc8975613f11343ef"
|
vcpkgToolReleaseSha="ffaa649cdb996946deff538ed0df192dffff41eb838179566aa77f91cdaaeadea7cd058bb4b230057f4b14703fbcd3c557b398ec7388d94177d3fc31073e7b6b"
|
||||||
vcpkgToolReleaseTarball="$vcpkgToolReleaseTag.tar.gz"
|
vcpkgToolReleaseTarball="$vcpkgToolReleaseTag.tar.gz"
|
||||||
vcpkgToolUrl="https://github.com/microsoft/vcpkg-tool/archive/$vcpkgToolReleaseTarball"
|
vcpkgToolUrl="https://github.com/microsoft/vcpkg-tool/archive/$vcpkgToolReleaseTarball"
|
||||||
baseBuildDir="$vcpkgRootDir/buildtrees/_vcpkg"
|
baseBuildDir="$vcpkgRootDir/buildtrees/_vcpkg"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user