@@ -18,7 +18,6 @@ variables:
1818 - name : PostBuildSign
1919 value : true
2020 - group : DotNet-HelixApi-Access
21- - group : DotNetBuilds storage account read tokens
2221 - group : AzureDevOps-Artifact-Feeds-Pats
2322 - name : _InternalRuntimeDownloadArgs
2423 value : /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
@@ -117,6 +116,7 @@ extends:
117116 arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
118117 env :
119118 Token : $(dn-bot-dnceng-artifact-feeds-rw)
119+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
120120 - script : eng\common\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_InternalBuildArgs) $(_InternalRuntimeDownloadArgs) $(_AdditionalBuildArgs)
121121 env :
122122 Test__Cosmos__DefaultConnection : $(_CosmosConnectionUrl)
@@ -144,6 +144,7 @@ extends:
144144 arguments : $(Build.SourcesDirectory)/NuGet.config $Token
145145 env :
146146 Token : $(dn-bot-dnceng-artifact-feeds-rw)
147+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
147148 - script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine $(_InternalRuntimeDownloadArgs)
148149 env :
149150 Test__Cosmos__DefaultConnection : $(_CosmosConnectionUrl)
@@ -185,6 +186,7 @@ extends:
185186 arguments : $(Build.SourcesDirectory)/NuGet.config $Token
186187 env :
187188 Token : $(dn-bot-dnceng-artifact-feeds-rw)
189+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
188190 - script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine $(_InternalRuntimeDownloadArgs)
189191 displayName : Build
190192 templateContext :
@@ -224,6 +226,16 @@ extends:
224226 arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
225227 env :
226228 Token : $(dn-bot-dnceng-artifact-feeds-rw)
229+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
230+ - template : /eng/common/templates-official/steps/get-delegation-sas.yml
231+ parameters :
232+ federatedServiceConnection : ' dotnetbuilds-internal-read'
233+ outputVariableName : ' dotnetbuilds-internal-container-read-token'
234+ expiryInHours : 1
235+ base64Encode : false
236+ storageAccount : dotnetbuilds
237+ container : internal
238+ permissions : rl
227239 - script : restore.cmd -ci /p:configuration=$(_BuildConfig) $(_InternalRuntimeDownloadArgs)
228240 displayName : Restore packages
229241 - script : .dotnet\dotnet build eng\helix.proj /restore /t:Test /p:configuration=$(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog $(_InternalRuntimeDownloadArgs)
0 commit comments