From ed915f0471aa25f92a13d437fd238b69203cc038 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Thu, 13 Aug 2026 11:56:06 -0700 Subject: [PATCH] Stop overriding X_VCPKG_ASSET_SOURCES from a secret variable X_VCPKG_ASSET_SOURCES is being moved off the azuresdkartifacts storage account and onto the Microsoft-hosted Terrapin source mirror, which needs no SAS token and is therefore not a secret. eng/common's set-vcpkg-cache-vars.yml now sets X_VCPKG_ASSET_SOURCES directly and no longer defines X_VCPKG_ASSET_SOURCES_SECRET. Mapping the removed secret variable into the step env would shadow the value set by eng/common, so drop the mapping and let the job-level variable flow through. VCPKG_BINARY_SOURCES still carries a SAS token in internal builds and keeps its secret mapping. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 951b5748-dd8c-4a3d-83a1-958b2f6a484d --- eng/pipelines/templates/steps/cmake-build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/eng/pipelines/templates/steps/cmake-build.yml b/eng/pipelines/templates/steps/cmake-build.yml index 14598ee105..b2a7d6d0a5 100644 --- a/eng/pipelines/templates/steps/cmake-build.yml +++ b/eng/pipelines/templates/steps/cmake-build.yml @@ -72,7 +72,6 @@ steps: displayName: cmake generate env: VCPKG_BINARY_SOURCES: $(VCPKG_BINARY_SOURCES_SECRET) - X_VCPKG_ASSET_SOURCES: $(X_VCPKG_ASSET_SOURCES_SECRET) # Core should build all cmake targets - ${{ if and(eq(parameters.Build, true), eq(parameters.ServiceDirectory, 'core')) }}: