@@ -18,7 +18,6 @@ variables:
18
18
- name : PostBuildSign
19
19
value : true
20
20
- group : DotNet-HelixApi-Access
21
- - group : DotNetBuilds storage account read tokens
22
21
- group : AzureDevOps-Artifact-Feeds-Pats
23
22
- name : _InternalRuntimeDownloadArgs
24
23
value : /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
@@ -117,6 +116,7 @@ extends:
117
116
arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
118
117
env :
119
118
Token : $(dn-bot-dnceng-artifact-feeds-rw)
119
+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
120
120
- script : eng\common\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_InternalBuildArgs) $(_InternalRuntimeDownloadArgs) $(_AdditionalBuildArgs)
121
121
env :
122
122
Test__Cosmos__DefaultConnection : $(_CosmosConnectionUrl)
@@ -144,6 +144,7 @@ extends:
144
144
arguments : $(Build.SourcesDirectory)/NuGet.config $Token
145
145
env :
146
146
Token : $(dn-bot-dnceng-artifact-feeds-rw)
147
+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
147
148
- script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine $(_InternalRuntimeDownloadArgs)
148
149
env :
149
150
Test__Cosmos__DefaultConnection : $(_CosmosConnectionUrl)
@@ -185,6 +186,7 @@ extends:
185
186
arguments : $(Build.SourcesDirectory)/NuGet.config $Token
186
187
env :
187
188
Token : $(dn-bot-dnceng-artifact-feeds-rw)
189
+ - template : /eng/common/templates-official/steps/enable-internal-runtimes.yml
188
190
- script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine $(_InternalRuntimeDownloadArgs)
189
191
displayName : Build
190
192
templateContext :
@@ -224,6 +226,16 @@ extends:
224
226
arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
225
227
env :
226
228
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
227
239
- script : restore.cmd -ci /p:configuration=$(_BuildConfig) $(_InternalRuntimeDownloadArgs)
228
240
displayName : Restore packages
229
241
- 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