aboutsummaryrefslogtreecommitdiff
path: root/scripts/azure-pipelines/linux
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-09-03 00:02:29 -0700
committerGitHub <noreply@github.com>2021-09-03 00:02:29 -0700
commitf78c96f7067a327a1b961b222bf8a118ca87b9a1 (patch)
tree01c56abb7661e9dbc6041357b4a6b4d94ad92b0f /scripts/azure-pipelines/linux
parent887cc9c15a7f2bfc642fa4d6978a80974a3df771 (diff)
downloadvcpkg-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/linux')
-rw-r--r--scripts/azure-pipelines/linux/azure-pipelines.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/azure-pipelines/linux/azure-pipelines.yml b/scripts/azure-pipelines/linux/azure-pipelines.yml
index e76ebc5b6..f68f971e5 100644
--- a/scripts/azure-pipelines/linux/azure-pipelines.yml
+++ b/scripts/azure-pipelines/linux/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:
- bash: df -h
@@ -42,7 +45,7 @@ jobs:
inputs:
failOnStderr: true
filePath: 'scripts/azure-pipelines/test-modified-ports.ps1'
- arguments: '-Triplet x64-linux -BuildReason $(Build.Reason) -UseEnvironmentSasToken -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactStagingDirectory $(Build.ArtifactStagingDirectory)'
+ arguments: '-Triplet x64-linux -BuildReason $(Build.Reason) -BinarySourceStub "$(X_VCPKG_BINARY_SOURCE_STUB)" -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactStagingDirectory $(Build.ArtifactStagingDirectory)'
pwsh: true
- bash: |
df -h