Skip to content

Commit 372292b

Browse files
committed
Merge in 'release/6.0' changes
2 parents 041cbb5 + 9dd6031 commit 372292b

36 files changed

+789
-1567
lines changed

eng/Baseline.Designer.props

Lines changed: 239 additions & 239 deletions
Large diffs are not rendered by default.

eng/Baseline.xml

Lines changed: 107 additions & 107 deletions
Large diffs are not rendered by default.

eng/Version.Details.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,22 +280,22 @@
280280
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
281281
<Sha>3a25a7f1cc446b60678ed25c9d829420d6321eba</Sha>
282282
</Dependency>
283-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21609.4">
283+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.22107.2">
284284
<Uri>https://github.com/dotnet/arcade</Uri>
285-
<Sha>7421b55f46aff8373764016d942b23cbf87c75cb</Sha>
285+
<Sha>fe5cc1841d12196d94a4ae3b276cb92d8d7ca73d</Sha>
286286
<SourceBuild RepoName="arcade" ManagedOnly="true" />
287287
</Dependency>
288-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21609.4">
288+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.22107.2">
289289
<Uri>https://github.com/dotnet/arcade</Uri>
290-
<Sha>7421b55f46aff8373764016d942b23cbf87c75cb</Sha>
290+
<Sha>fe5cc1841d12196d94a4ae3b276cb92d8d7ca73d</Sha>
291291
</Dependency>
292-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="6.0.0-beta.21609.4">
292+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="6.0.0-beta.22107.2">
293293
<Uri>https://github.com/dotnet/arcade</Uri>
294-
<Sha>7421b55f46aff8373764016d942b23cbf87c75cb</Sha>
294+
<Sha>fe5cc1841d12196d94a4ae3b276cb92d8d7ca73d</Sha>
295295
</Dependency>
296-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21609.4">
296+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.22107.2">
297297
<Uri>https://github.com/dotnet/arcade</Uri>
298-
<Sha>7421b55f46aff8373764016d942b23cbf87c75cb</Sha>
298+
<Sha>fe5cc1841d12196d94a4ae3b276cb92d8d7ca73d</Sha>
299299
</Dependency>
300300
</ToolsetDependencies>
301301
</Dependencies>

eng/Versions.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AspNetCoreMajorVersion>6</AspNetCoreMajorVersion>
1010
<AspNetCoreMinorVersion>0</AspNetCoreMinorVersion>
1111
<AspNetCorePatchVersion>3</AspNetCorePatchVersion>
12-
<ValidateBaseline>false</ValidateBaseline>
12+
<ValidateBaseline>true</ValidateBaseline>
1313
<!--
1414
When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages
1515
-->
@@ -131,8 +131,8 @@
131131
<MicrosoftEntityFrameworkCoreVersion>6.0.3</MicrosoftEntityFrameworkCoreVersion>
132132
<MicrosoftEntityFrameworkCoreDesignVersion>6.0.3</MicrosoftEntityFrameworkCoreDesignVersion>
133133
<!-- Packages from dotnet/arcade -->
134-
<MicrosoftDotNetBuildTasksInstallersVersion>6.0.0-beta.21609.4</MicrosoftDotNetBuildTasksInstallersVersion>
135-
<MicrosoftDotNetBuildTasksTemplatingVersion>6.0.0-beta.21609.4</MicrosoftDotNetBuildTasksTemplatingVersion>
134+
<MicrosoftDotNetBuildTasksInstallersVersion>6.0.0-beta.22107.2</MicrosoftDotNetBuildTasksInstallersVersion>
135+
<MicrosoftDotNetBuildTasksTemplatingVersion>6.0.0-beta.22107.2</MicrosoftDotNetBuildTasksTemplatingVersion>
136136
</PropertyGroup>
137137
<!--
138138
@@ -215,7 +215,7 @@
215215
<MicrosoftAspNetCoreAzureAppServicesSiteExtension31Version>3.1.22-servicing-21579-4</MicrosoftAspNetCoreAzureAppServicesSiteExtension31Version>
216216
<MicrosoftAspNetCoreAzureAppServicesSiteExtension31x64Version>$(MicrosoftAspNetCoreAzureAppServicesSiteExtension31Version)</MicrosoftAspNetCoreAzureAppServicesSiteExtension31x64Version>
217217
<MicrosoftAspNetCoreAzureAppServicesSiteExtension31x86Version>$(MicrosoftAspNetCoreAzureAppServicesSiteExtension31Version)</MicrosoftAspNetCoreAzureAppServicesSiteExtension31x86Version>
218-
<MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version>5.0.13-servicing-21572-2</MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version>
218+
<MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version>5.0.14-servicing.22063.24</MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version>
219219
<MicrosoftAspNetCoreAzureAppServicesSiteExtension50x64Version>$(MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version)</MicrosoftAspNetCoreAzureAppServicesSiteExtension50x64Version>
220220
<MicrosoftAspNetCoreAzureAppServicesSiteExtension50x86Version>$(MicrosoftAspNetCoreAzureAppServicesSiteExtension50Version)</MicrosoftAspNetCoreAzureAppServicesSiteExtension50x86Version>
221221
<!-- 3rd party dependencies -->

eng/common/generate-graph-files.ps1

Lines changed: 0 additions & 86 deletions
This file was deleted.

eng/common/post-build/publish-using-darc.ps1

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ param(
55
[Parameter(Mandatory=$true)][string] $MaestroToken,
66
[Parameter(Mandatory=$false)][string] $MaestroApiEndPoint = 'https://maestro-prod.westus2.cloudapp.azure.com',
77
[Parameter(Mandatory=$true)][string] $WaitPublishingFinish,
8-
[Parameter(Mandatory=$false)][string] $EnableSourceLinkValidation,
9-
[Parameter(Mandatory=$false)][string] $EnableSigningValidation,
10-
[Parameter(Mandatory=$false)][string] $EnableNugetValidation,
11-
[Parameter(Mandatory=$false)][string] $PublishInstallersAndChecksums,
128
[Parameter(Mandatory=$false)][string] $ArtifactsPublishingAdditionalParameters,
13-
[Parameter(Mandatory=$false)][string] $SymbolPublishingAdditionalParameters,
14-
[Parameter(Mandatory=$false)][string] $SigningValidationAdditionalParameters
9+
[Parameter(Mandatory=$false)][string] $SymbolPublishingAdditionalParameters
1510
)
1611

1712
try {
@@ -35,27 +30,6 @@ try {
3530
$optionalParams.Add("--no-wait") | Out-Null
3631
}
3732

38-
if ("false" -ne $PublishInstallersAndChecksums) {
39-
$optionalParams.Add("--publish-installers-and-checksums") | Out-Null
40-
}
41-
42-
if ("true" -eq $EnableNugetValidation) {
43-
$optionalParams.Add("--validate-nuget") | Out-Null
44-
}
45-
46-
if ("true" -eq $EnableSourceLinkValidation) {
47-
$optionalParams.Add("--validate-sourcelinkchecksums") | Out-Null
48-
}
49-
50-
if ("true" -eq $EnableSigningValidation) {
51-
$optionalParams.Add("--validate-signingchecksums") | Out-Null
52-
53-
if ("" -ne $SigningValidationAdditionalParameters) {
54-
$optionalParams.Add("--signing-validation-parameters") | Out-Null
55-
$optionalParams.Add($SigningValidationAdditionalParameters) | Out-Null
56-
}
57-
}
58-
5933
& $darc add-build-to-channel `
6034
--id $buildId `
6135
--publishing-infra-version $PublishingInfraVersion `

eng/common/sdl/configure-sdl-tool.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Param(
1515
# Optional: Additional params to add to any tool using CredScan.
1616
[string[]] $CrScanAdditionalRunConfigParams,
1717
# Optional: Additional params to add to any tool using PoliCheck.
18-
[string[]] $PoliCheckAdditionalRunConfigParams
18+
[string[]] $PoliCheckAdditionalRunConfigParams,
19+
# Optional: Additional params to add to any tool using CodeQL/Semmle.
20+
[string[]] $CodeQLAdditionalRunConfigParams
1921
)
2022

2123
$ErrorActionPreference = 'Stop'
@@ -78,6 +80,11 @@ try {
7880
$tool.Args += "Target < $TargetDirectory"
7981
}
8082
$tool.Args += $PoliCheckAdditionalRunConfigParams
83+
} elseif ($tool.Name -eq 'semmle' -or $tool.Name -eq 'codeql') {
84+
if ($targetDirectory) {
85+
$tool.Args += "`"SourceCodeDirectory < $TargetDirectory`""
86+
}
87+
$tool.Args += $CodeQLAdditionalRunConfigParams
8188
}
8289

8390
# Create variable pointing to the args array directly so we can use splat syntax later.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Param(
3434
[string] $GuardianLoggerLevel='Standard', # Optional: the logger level for the Guardian CLI; options are Trace, Verbose, Standard, Warning, and Error
3535
[string[]] $CrScanAdditionalRunConfigParams, # Optional: Additional Params to custom build a CredScan run config in the format @("xyz:abc","sdf:1")
3636
[string[]] $PoliCheckAdditionalRunConfigParams, # Optional: Additional Params to custom build a Policheck run config in the format @("xyz:abc","sdf:1")
37+
[string[]] $CodeQLAdditionalRunConfigParams, # Optional: Additional Params to custom build a Semmle/CodeQL run config in the format @("xyz < abc","sdf < 1")
3738
[bool] $BreakOnFailure=$False # Optional: Fail the build if there were errors during the run
3839
)
3940

@@ -105,7 +106,8 @@ try {
105106
-AzureDevOpsAccessToken $AzureDevOpsAccessToken `
106107
-GuardianLoggerLevel $GuardianLoggerLevel `
107108
-CrScanAdditionalRunConfigParams $CrScanAdditionalRunConfigParams `
108-
-PoliCheckAdditionalRunConfigParams $PoliCheckAdditionalRunConfigParams
109+
-PoliCheckAdditionalRunConfigParams $PoliCheckAdditionalRunConfigParams `
110+
-CodeQLAdditionalRunConfigParams $CodeQLAdditionalRunConfigParams
109111
if ($BreakOnFailure) {
110112
Exit-IfNZEC "Sdl"
111113
}

eng/common/sdl/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Guardian.Cli" version="0.53.3"/>
3+
<package id="Microsoft.Guardian.Cli" version="0.110.1"/>
44
</packages>

eng/common/templates/job/execute-sdl.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ parameters:
2929
# Optional: download a list of pipeline artifacts. 'downloadArtifacts' controls build artifacts,
3030
# not pipeline artifacts, so doesn't affect the use of this parameter.
3131
pipelineArtifactNames: []
32-
# Optional: location and ID of the AzDO build that the build/pipeline artifacts should be
33-
# downloaded from. By default, uses runtime expressions to decide based on the variables set by
34-
# the 'setupMaestroVars' dependency. Overriding this parameter is necessary if SDL tasks are
35-
# running without Maestro++/BAR involved, or to download artifacts from a specific existing build
36-
# to iterate quickly on SDL changes.
37-
AzDOProjectName: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOProjectName'] ]
38-
AzDOPipelineId: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOPipelineId'] ]
39-
AzDOBuildId: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOBuildId'] ]
4032

4133
jobs:
4234
- job: Run_SDL
@@ -54,21 +46,26 @@ jobs:
5446
# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
5547
# sync with the packages.config file.
5648
- name: DefaultGuardianVersion
57-
value: 0.53.3
49+
value: 0.110.1
5850
- name: GuardianVersion
5951
value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}
6052
- name: GuardianPackagesConfigFile
6153
value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
6254
pool:
63-
# To extract archives (.tar.gz, .zip), we need access to "tar", added in Windows 10/2019.
64-
${{ if eq(parameters.extractArchiveArtifacts, 'false') }}:
65-
vmImage: windows-2019
66-
${{ if ne(parameters.extractArchiveArtifacts, 'false') }}:
67-
vmImage: windows-2019
55+
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
56+
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
57+
name: VSEngSS-MicroBuild2022-1ES
58+
demands: Cmd
59+
# If it's not devdiv, it's dnceng
60+
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
61+
name: NetCore1ESPool-Internal
62+
demands: ImageOverride -equals Build.Server.Amd64.VS2019
6863
steps:
6964
- checkout: self
7065
clean: true
7166

67+
- template: /eng/common/templates/post-build/setup-maestro-vars.yml
68+
7269
- ${{ if ne(parameters.downloadArtifacts, 'false')}}:
7370
- ${{ if ne(parameters.artifactNames, '') }}:
7471
- ${{ each artifactName in parameters.artifactNames }}:

0 commit comments

Comments
 (0)