Skip to content

Commit c7242c2

Browse files
Update dependencies from https://github.com/dotnet/dotnet build 20260105.11 (#525)
On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 10.0.0-beta.25555.106 -> To Version 10.0.0-beta.26055.111 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
1 parent ebfc5c9 commit c7242c2

15 files changed

+103
-37
lines changed

eng/Version.Details.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file should be imported by eng/Versions.props
66
<Project>
77
<PropertyGroup>
88
<!-- dotnet/dotnet dependencies -->
9-
<MicrosoftDotNetArcadeSdkPackageVersion>10.0.0-beta.25555.106</MicrosoftDotNetArcadeSdkPackageVersion>
9+
<MicrosoftDotNetArcadeSdkPackageVersion>10.0.0-beta.26055.111</MicrosoftDotNetArcadeSdkPackageVersion>
1010
</PropertyGroup>
1111
<!--Property group for alternate package version names-->
1212
<PropertyGroup>

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25555.106">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.26055.111">
77
<Uri>https://github.com/dotnet/dotnet</Uri>
8-
<Sha>e17b0d08def649f30aed9c09cf4a2c5741a3c76c</Sha>
8+
<Sha>68282276aba776ff485c66ffd6c207f26e77cfd6</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/common/core-templates/job/publish-build-assets.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ jobs:
120120

121121
- task: NuGetAuthenticate@1
122122

123+
# Populate internal runtime variables.
124+
- template: /eng/common/templates/steps/enable-internal-sources.yml
125+
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
126+
parameters:
127+
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
128+
129+
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
130+
123131
- task: AzureCLI@2
124132
displayName: Publish Build Assets
125133
inputs:
@@ -132,6 +140,9 @@ jobs:
132140
/p:IsAssetlessBuild=${{ parameters.isAssetlessBuild }}
133141
/p:MaestroApiEndpoint=https://maestro.dot.net
134142
/p:OfficialBuildId=$(OfficialBuildId)
143+
-runtimeSourceFeed https://ci.dot.net/internal
144+
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'
145+
135146
condition: ${{ parameters.condition }}
136147
continueOnError: ${{ parameters.continueOnError }}
137148

@@ -180,6 +191,11 @@ jobs:
180191
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
181192
is1ESPipeline: ${{ parameters.is1ESPipeline }}
182193

194+
# Darc is targeting 8.0, so make sure it's installed
195+
- task: UseDotNet@2
196+
inputs:
197+
version: 8.0.x
198+
183199
- task: AzureCLI@2
184200
displayName: Publish Using Darc
185201
inputs:
@@ -195,6 +211,8 @@ jobs:
195211
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
196212
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
197213
-SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'
214+
-runtimeSourceFeed https://ci.dot.net/internal
215+
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'
198216
199217
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:
200218
- template: /eng/common/core-templates/steps/publish-logs.yml

eng/common/core-templates/job/source-index-stage1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parameters:
33
sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci"
44
preSteps: []
55
binlogPath: artifacts/log/Debug/Build.binlog
6-
condition: ''
6+
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
77
dependsOn: ''
88
pool: ''
99
is1ESPipeline: ''
@@ -25,10 +25,10 @@ jobs:
2525
pool:
2626
${{ if eq(variables['System.TeamProject'], 'public') }}:
2727
name: $(DncEngPublicBuildPool)
28-
image: windows.vs2022.amd64.open
28+
image: windows.vs2026preview.scout.amd64.open
2929
${{ if eq(variables['System.TeamProject'], 'internal') }}:
3030
name: $(DncEngInternalBuildPool)
31-
image: windows.vs2022.amd64
31+
image: windows.vs2026preview.scout.amd64
3232

3333
steps:
3434
- ${{ if eq(parameters.is1ESPipeline, '') }}:
@@ -41,4 +41,4 @@ jobs:
4141

4242
- template: /eng/common/core-templates/steps/source-index-stage1-publish.yml
4343
parameters:
44-
binLogPath: ${{ parameters.binLogPath }}
44+
binLogPath: ${{ parameters.binLogPath }}

eng/common/core-templates/post-build/post-build.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ stages:
127127
${{ else }}:
128128
${{ if eq(parameters.is1ESPipeline, true) }}:
129129
name: $(DncEngInternalBuildPool)
130-
image: windows.vs2022.amd64
130+
image: windows.vs2026preview.scout.amd64
131131
os: windows
132132
${{ else }}:
133133
name: $(DncEngInternalBuildPool)
134-
demands: ImageOverride -equals windows.vs2022.amd64
134+
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
135135

136136
steps:
137137
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
@@ -175,7 +175,7 @@ stages:
175175
os: windows
176176
${{ else }}:
177177
name: $(DncEngInternalBuildPool)
178-
demands: ImageOverride -equals windows.vs2022.amd64
178+
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
179179
steps:
180180
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
181181
parameters:
@@ -236,7 +236,7 @@ stages:
236236
os: windows
237237
${{ else }}:
238238
name: $(DncEngInternalBuildPool)
239-
demands: ImageOverride -equals windows.vs2022.amd64
239+
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
240240
steps:
241241
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
242242
parameters:
@@ -307,6 +307,18 @@ stages:
307307

308308
- task: NuGetAuthenticate@1
309309

310+
# Populate internal runtime variables.
311+
- template: /eng/common/templates/steps/enable-internal-sources.yml
312+
parameters:
313+
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
314+
315+
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
316+
317+
# Darc is targeting 8.0, so make sure it's installed
318+
- task: UseDotNet@2
319+
inputs:
320+
version: 8.0.x
321+
310322
- task: AzureCLI@2
311323
displayName: Publish Using Darc
312324
inputs:
@@ -323,3 +335,5 @@ stages:
323335
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
324336
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
325337
-SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'
338+
-runtimeSourceFeed https://ci.dot.net/internal
339+
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'

eng/common/core-templates/steps/install-microbuild.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,41 @@ parameters:
1111
# Unfortunately, _SignType can't be used to exclude the use of the service connection in non-real sign scenarios. The
1212
# variable is not available in template expression. _SignType has a very large proliferation across .NET, so replacing it is tough.
1313
microbuildUseESRP: true
14+
# Microbuild installation directory
15+
microBuildOutputFolder: $(Agent.TempDirectory)/MicroBuild
1416

1517
continueOnError: false
1618

1719
steps:
1820
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
1921
- ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:
20-
# Installing .NET 8 is required to use the MicroBuild signing plugin on non-Windows platforms
22+
# Needed to download the MicroBuild plugin nupkgs on Mac and Linux when nuget.exe is unavailable
2123
- task: UseDotNet@2
2224
displayName: Install .NET 8.0 SDK for MicroBuild Plugin
2325
inputs:
2426
packageType: sdk
2527
version: 8.0.x
26-
# Installing the SDK in a '.dotnet-microbuild' directory is required for signing.
27-
# See target FindDotNetPathForMicroBuild in arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.proj
28-
# Do not remove '.dotnet-microbuild' from the path without changing the corresponding logic.
29-
installationPath: $(Agent.TempDirectory)/.dotnet-microbuild
28+
installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet-microbuild
29+
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
30+
31+
- script: |
32+
set -euo pipefail
33+
34+
# UseDotNet@2 prepends the dotnet executable path to the PATH variable, so we can call dotnet directly
35+
version=$(dotnet --version)
36+
cat << 'EOF' > ${{ parameters.microBuildOutputFolder }}/global.json
37+
{
38+
"sdk": {
39+
"version": "$version",
40+
"paths": [
41+
"${{ parameters.microBuildOutputFolder }}/.dotnet-microbuild"
42+
],
43+
"errorMessage": "The .NET SDK version $version is required to install the MicroBuild signing plugin."
44+
}
45+
}
46+
EOF
47+
displayName: 'Add global.json to MicroBuild Installation path'
48+
workingDirectory: ${{ parameters.microBuildOutputFolder }}
3049
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
3150
3251
- script: |
@@ -64,7 +83,7 @@ steps:
6483
ConnectedPMEServiceName: 248d384a-b39b-46e3-8ad5-c2c210d5e7ca
6584
env:
6685
TeamName: $(_TeamName)
67-
MicroBuildOutputFolderOverride: $(Agent.TempDirectory)/MicroBuild
86+
MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}
6887
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
6988
continueOnError: ${{ parameters.continueOnError }}
7089
condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'), in(variables['_SignType'], 'real', 'test'))
@@ -76,6 +95,7 @@ steps:
7695
signType: $(_SignType)
7796
zipSources: false
7897
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
98+
workingDirectory: ${{ parameters.microBuildOutputFolder }}
7999
${{ if eq(parameters.microbuildUseESRP, true) }}:
80100
ConnectedServiceName: 'MicroBuild Signing Task (DevDiv)'
81101
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
@@ -84,7 +104,7 @@ steps:
84104
ConnectedPMEServiceName: c24de2a5-cc7a-493d-95e4-8e5ff5cad2bc
85105
env:
86106
TeamName: $(_TeamName)
87-
MicroBuildOutputFolderOverride: $(Agent.TempDirectory)/MicroBuild
107+
MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}
88108
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
89109
continueOnError: ${{ parameters.continueOnError }}
90110
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'), eq(variables['_SignType'], 'real'))

eng/common/core-templates/steps/publish-logs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ steps:
2626
# If the file exists - sensitive data for redaction will be sourced from it
2727
# (single entry per line, lines starting with '# ' are considered comments and skipped)
2828
arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs'
29-
-BinlogToolVersion ${{parameters.BinlogToolVersion}}
29+
-BinlogToolVersion '${{parameters.BinlogToolVersion}}'
3030
-TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt'
31+
-runtimeSourceFeed https://ci.dot.net/internal
32+
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'
3133
'$(publishing-dnceng-devdiv-code-r-build-re)'
3234
'$(MaestroAccessToken)'
3335
'$(dn-bot-all-orgs-artifact-feeds-rw)'

eng/common/core-templates/steps/source-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
2424
# in the default public locations.
2525
internalRuntimeDownloadArgs=
2626
if [ '$(dotnetbuilds-internal-container-read-token-base64)' != '$''(dotnetbuilds-internal-container-read-token-base64)' ]; then
27-
internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) --runtimesourcefeed https://ci.dot.net/internal --runtimesourcefeedkey $(dotnetbuilds-internal-container-read-token-base64)'
27+
internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) --runtimesourcefeed https://ci.dot.net/internal --runtimesourcefeedkey '$(dotnetbuilds-internal-container-read-token-base64)''
2828
fi
2929
3030
buildConfig=Release

eng/common/internal-feed-operations.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function SetupCredProvider {
2626
$url = 'https://raw.githubusercontent.com/microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1'
2727

2828
Write-Host "Writing the contents of 'installcredprovider.ps1' locally..."
29-
Invoke-WebRequest $url -OutFile installcredprovider.ps1
29+
Invoke-WebRequest $url -UseBasicParsing -OutFile installcredprovider.ps1
3030

3131
Write-Host 'Installing plugin...'
3232
.\installcredprovider.ps1 -Force

eng/common/post-build/nuget-verification.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if ($NuGetExePath) {
6565
Write-Host "Downloading nuget.exe from $nugetExeUrl..."
6666
$ProgressPreference = 'SilentlyContinue'
6767
try {
68-
Invoke-WebRequest $nugetExeUrl -OutFile $downloadedNuGetExe
68+
Invoke-WebRequest $nugetExeUrl -UseBasicParsing -OutFile $downloadedNuGetExe
6969
$ProgressPreference = 'Continue'
7070
} catch {
7171
$ProgressPreference = 'Continue'

0 commit comments

Comments
 (0)