Skip to content

Commit 807d6c9

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20210611.3 (#874)
Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.SwaggerGenerator.MSBuild , Microsoft.DotNet.SignTool , Microsoft.DotNet.Helix.Sdk From Version 6.0.0-beta.21304.1 -> To Version 6.0.0-beta.21311.3 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Medeni Baykal <[email protected]>
1 parent 59cd5ae commit 807d6c9

13 files changed

+85
-83
lines changed

eng/Version.Details.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@
1515
</Dependency>
1616
</ProductDependencies>
1717
<ToolsetDependencies>
18-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21304.1">
18+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21311.3">
1919
<Uri>https://github.com/dotnet/arcade</Uri>
20-
<Sha>85a65ea1fca1d0867f699fed44d191358270bf6a</Sha>
20+
<Sha>4a2b475948d498b89fedef7cf890883f49bc1ea3</Sha>
2121
</Dependency>
22-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="6.0.0-beta.21304.1">
22+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="6.0.0-beta.21311.3">
2323
<Uri>https://github.com/dotnet/arcade</Uri>
24-
<Sha>85a65ea1fca1d0867f699fed44d191358270bf6a</Sha>
24+
<Sha>4a2b475948d498b89fedef7cf890883f49bc1ea3</Sha>
2525
</Dependency>
26-
<Dependency Name="Microsoft.DotNet.SignTool" Version="6.0.0-beta.21304.1">
26+
<Dependency Name="Microsoft.DotNet.SignTool" Version="6.0.0-beta.21311.3">
2727
<Uri>https://github.com/dotnet/arcade</Uri>
28-
<Sha>85a65ea1fca1d0867f699fed44d191358270bf6a</Sha>
28+
<Sha>4a2b475948d498b89fedef7cf890883f49bc1ea3</Sha>
2929
</Dependency>
30-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21304.1">
30+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21311.3">
3131
<Uri>https://github.com/dotnet/arcade</Uri>
32-
<Sha>85a65ea1fca1d0867f699fed44d191358270bf6a</Sha>
32+
<Sha>4a2b475948d498b89fedef7cf890883f49bc1ea3</Sha>
3333
</Dependency>
34-
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="6.0.0-beta.21304.1">
34+
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="6.0.0-beta.21311.3">
3535
<Uri>https://github.com/dotnet/arcade</Uri>
36-
<Sha>85a65ea1fca1d0867f699fed44d191358270bf6a</Sha>
36+
<Sha>4a2b475948d498b89fedef7cf890883f49bc1ea3</Sha>
3737
</Dependency>
3838
<Dependency Name="Microsoft.DotNet.Maestro.Client" Version="1.1.0-beta.20258.6">
3939
<Uri>https://github.com/dotnet/arcade-services</Uri>

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
<XUnitVersion>2.4.1</XUnitVersion>
9898
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
9999
<XUnitVSRunnerVersion>2.4.1</XUnitVSRunnerVersion>
100-
<MicrosoftDotNetBuildTasksFeedVersion>6.0.0-beta.21304.1</MicrosoftDotNetBuildTasksFeedVersion>
101-
<MicrosoftDotNetSignToolVersion>6.0.0-beta.21304.1</MicrosoftDotNetSignToolVersion>
100+
<MicrosoftDotNetBuildTasksFeedVersion>6.0.0-beta.21311.3</MicrosoftDotNetBuildTasksFeedVersion>
101+
<MicrosoftDotNetSignToolVersion>6.0.0-beta.21311.3</MicrosoftDotNetSignToolVersion>
102102
<MicrosoftAzureDocumentDBVersion>1.22.0</MicrosoftAzureDocumentDBVersion>
103103
<MicrosoftAzureCosmosDBTableVersion>1.1.2</MicrosoftAzureCosmosDBTableVersion>
104104
<MicrosoftAspNetCoreAllVersion>2.0.0</MicrosoftAspNetCoreAllVersion>
@@ -108,7 +108,7 @@
108108
<MicrosoftDotNetMaestroClientVersion>1.1.0-beta.20258.6</MicrosoftDotNetMaestroClientVersion>
109109
<MicrosoftSourceLinkGitHubVersion>1.1.0-beta-21228-01</MicrosoftSourceLinkGitHubVersion>
110110
<MicrosoftSourceLinkAzureReposGitVersion>1.1.0-beta-21228-01</MicrosoftSourceLinkAzureReposGitVersion>
111-
<MicrosoftDotNetSwaggerGeneratorMSBuildVersion>6.0.0-beta.21304.1</MicrosoftDotNetSwaggerGeneratorMSBuildVersion>
111+
<MicrosoftDotNetSwaggerGeneratorMSBuildVersion>6.0.0-beta.21311.3</MicrosoftDotNetSwaggerGeneratorMSBuildVersion>
112112
<XliffTasksVersion>1.0.0-beta.21265.1</XliffTasksVersion>
113113
<MicrosoftDotNetMaestroTasksVersion>1.1.0-beta.21228.1</MicrosoftDotNetMaestroTasksVersion>
114114
<MicrosoftDotNetXHarnessCLIVersion>1.0.0-prerelease.21264.3</MicrosoftDotNetXHarnessCLIVersion>

eng/common/dotnet-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ case $cpuname in
7070
;;
7171
esac
7272

73-
dotnetRoot="$repo_root/.dotnet"
73+
dotnetRoot="${repo_root}.dotnet"
7474
if [[ $architecture != "" ]] && [[ $architecture != $buildarch ]]; then
7575
dotnetRoot="$dotnetRoot/$architecture"
7676
fi

eng/common/internal-feed-operations.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ function SetupCredProvider {
4545
# Then, we set the 'VSS_NUGET_EXTERNAL_FEED_ENDPOINTS' environment variable to restore from the stable
4646
# feeds successfully
4747

48-
$nugetConfigPath = "$RepoRoot\NuGet.config"
48+
$nugetConfigPath = Join-Path $RepoRoot "NuGet.config"
4949

5050
if (-Not (Test-Path -Path $nugetConfigPath)) {
5151
Write-PipelineTelemetryError -Category 'Build' -Message 'NuGet.config file not found in repo root!'
52-
ExitWithExitCode 1
52+
ExitWithExitCode 1
5353
}
5454

5555
$endpoints = New-Object System.Collections.ArrayList
@@ -85,7 +85,7 @@ function SetupCredProvider {
8585

8686
#Workaround for https://github.com/microsoft/msbuild/issues/4430
8787
function InstallDotNetSdkAndRestoreArcade {
88-
$dotnetTempDir = "$RepoRoot\dotnet"
88+
$dotnetTempDir = Join-Path $RepoRoot "dotnet"
8989
$dotnetSdkVersion="2.1.507" # After experimentation we know this version works when restoring the SDK (compared to 3.0.*)
9090
$dotnet = "$dotnetTempDir\dotnet.exe"
9191
$restoreProjPath = "$PSScriptRoot\restore.proj"

eng/common/internal-feed-operations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function SetupCredProvider {
3939
# Then, we set the 'VSS_NUGET_EXTERNAL_FEED_ENDPOINTS' environment variable to restore from the stable
4040
# feeds successfully
4141

42-
local nugetConfigPath="$repo_root/NuGet.config"
42+
local nugetConfigPath="{$repo_root}NuGet.config"
4343

4444
if [ ! "$nugetConfigPath" ]; then
4545
Write-PipelineTelemetryError -category 'Build' "NuGet.config file not found in repo's root!"

eng/common/sdk-task.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function Print-Usage() {
3434
function Build([string]$target) {
3535
$logSuffix = if ($target -eq 'Execute') { '' } else { ".$target" }
3636
$log = Join-Path $LogDir "$task$logSuffix.binlog"
37-
$outputPath = Join-Path $ToolsetDir "$task\\"
37+
$outputPath = Join-Path $ToolsetDir "$task\"
3838

3939
MSBuild $taskProject `
4040
/bl:$log `
@@ -64,7 +64,7 @@ try {
6464
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
6565
}
6666
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
67-
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "16.8.0-preview3" -MemberType NoteProperty
67+
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "16.10.0-preview2" -MemberType NoteProperty
6868
}
6969
if ($GlobalJson.tools."xcopy-msbuild".Trim() -ine "none") {
7070
$xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true

eng/common/sdl/execute-all-sdl-tools.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ try {
3232
$ErrorActionPreference = 'Stop'
3333
Set-StrictMode -Version 2.0
3434
$disableConfigureToolsetImport = $true
35-
$LASTEXITCODE = 0
35+
$global:LASTEXITCODE = 0
3636

3737
# `tools.ps1` checks $ci to perform some actions. Since the SDL
3838
# scripts don't necessarily execute in the same agent that run the

eng/common/sdl/init-sdl.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Param(
1010
$ErrorActionPreference = 'Stop'
1111
Set-StrictMode -Version 2.0
1212
$disableConfigureToolsetImport = $true
13-
$LASTEXITCODE = 0
13+
$global:LASTEXITCODE = 0
1414

1515
# `tools.ps1` checks $ci to perform some actions. Since the SDL
1616
# scripts don't necessarily execute in the same agent that run the

eng/common/sdl/run-sdl.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Param(
1313
$ErrorActionPreference = 'Stop'
1414
Set-StrictMode -Version 2.0
1515
$disableConfigureToolsetImport = $true
16-
$LASTEXITCODE = 0
16+
$global:LASTEXITCODE = 0
1717

1818
try {
1919
# `tools.ps1` checks $ci to perform some actions. Since the SDL

eng/common/templates/job/onelocbuild.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ parameters:
1818
LclSource: lclFilesInRepo
1919
LclPackageId: ''
2020
RepoType: gitHub
21+
GitHubOrg: dotnet
22+
MirrorRepo: ''
23+
MirrorBranch: main
2124
condition: ''
2225

2326
jobs:
@@ -66,6 +69,11 @@ jobs:
6669
${{ if eq(parameters.RepoType, 'gitHub') }}:
6770
repoType: ${{ parameters.RepoType }}
6871
gitHubPatVariable: "${{ parameters.GithubPat }}"
72+
${{ if ne(parameters.MirrorRepo, '') }}:
73+
isMirrorRepoSelected: true
74+
gitHubOrganization: ${{ parameters.GitHubOrg }}
75+
mirrorRepo: ${{ parameters.MirrorRepo }}
76+
mirrorBranch: ${{ parameters.MirrorBranch }}
6977
condition: ${{ parameters.condition }}
7078

7179
- task: PublishBuildArtifacts@1

0 commit comments

Comments
 (0)