diff options
| author | Billy O'Neal <bion@microsoft.com> | 2021-09-03 00:02:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-03 00:02:29 -0700 |
| commit | f78c96f7067a327a1b961b222bf8a118ca87b9a1 (patch) | |
| tree | 01c56abb7661e9dbc6041357b4a6b4d94ad92b0f /scripts/azure-pipelines/windows | |
| parent | 887cc9c15a7f2bfc642fa4d6978a80974a3df771 (diff) | |
| download | vcpkg-f78c96f7067a327a1b961b222bf8a118ca87b9a1.tar.gz vcpkg-f78c96f7067a327a1b961b222bf8a118ca87b9a1.zip | |
Decouple the storage account used for binary caching from the images. (#19912)
* Decouple the storage account used for binary caching from the images.
We are being forced to change infrastructure somewhat more frequently than we would like, so change the binary caches to use a shared storage account like we already use for asset caching.
* blob blob blob
* Add quotes
* Avoid name stomping.
Diffstat (limited to 'scripts/azure-pipelines/windows')
| -rw-r--r-- | scripts/azure-pipelines/windows/azure-pipelines.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml index 7bd1cab0f..b88a5f120 100644 --- a/scripts/azure-pipelines/windows/azure-pipelines.yml +++ b/scripts/azure-pipelines/windows/azure-pipelines.yml @@ -17,6 +17,9 @@ jobs: - group: vcpkg-asset-caching-credentials
- name: X_VCPKG_ASSET_SOURCES
value: "x-azurl,$(root-url),$(sas),readwrite"
+ - group: vcpkg-binary-caching-credentials
+ - name: X_VCPKG_BINARY_SOURCE_STUB
+ value: "x-azblob,$(root-bin-url),$(sas-bin)"
steps:
- task: PowerShell@2
@@ -36,7 +39,7 @@ jobs: inputs:
failOnStderr: true
filePath: 'scripts/azure-pipelines/test-modified-ports.ps1'
- arguments: '-Triplet ${{ parameters.triplet }} -BuildReason $(Build.Reason) -UseEnvironmentSasToken -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactStagingDirectory $(Build.ArtifactStagingDirectory)'
+ arguments: '-Triplet ${{ parameters.triplet }} -BuildReason $(Build.Reason) -BinarySourceStub "$(X_VCPKG_BINARY_SOURCE_STUB)" -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactStagingDirectory $(Build.ArtifactStagingDirectory)'
pwsh: true
- task: PowerShell@2
displayName: 'Validate version files'
|
