Skip to content

Commit 6aab04c

Browse files
authored
Enable internal runtimes and disable old creds (#56428)
1 parent 3504b3e commit 6aab04c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.azure/pipelines/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ variables:
9696
value: /bl:artifacts/log/Release/Build.Installers.binlog
9797
- name: WindowsArm64InstallersLogArgs
9898
value: /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
99-
- group: DotNetBuilds storage account read tokens
10099
- name: _InternalRuntimeDownloadArgs
101100
value: -RuntimeSourceFeed https://dotnetbuilds.blob.core.windows.net/internal
102101
-RuntimeSourceFeedKey $(dotnetbuilds-internal-container-read-token-base64)

.azure/pipelines/jobs/default-build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,18 @@ jobs:
420420
- ${{ parameters.beforeBuild }}
421421

422422
# - template: /eng/common/templates-official/steps/enable-internal-sources.yml@self
423-
# - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml@self
423+
- template: /eng/common/templates-official/steps/enable-internal-runtimes.yml@self
424+
425+
# Populate dotnetbuilds-internal-container-read-token
426+
- template: /eng/common/templates-official/steps/get-delegation-sas.yml
427+
parameters:
428+
federatedServiceConnection: 'dotnetbuilds-internal-read'
429+
outputVariableName: 'dotnetbuilds-internal-container-read-token'
430+
expiryInHours: 1
431+
base64Encode: false
432+
storageAccount: dotnetbuilds
433+
container: internal
434+
permissions: rl
424435

425436
# Add COMPlus_* environment variables to build steps.
426437
- ${{ if ne(parameters.steps, '')}}:

0 commit comments

Comments
 (0)