Skip to content

Commit 9774a8c

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20220127.13 (#1399)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.XUnitExtensions From Version 6.0.0-beta.22076.8 -> To Version 6.0.0-beta.22077.13 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
1 parent 3b06910 commit 9774a8c

File tree

7 files changed

+80
-8
lines changed

7 files changed

+80
-8
lines changed

eng/Version.Details.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
<Uri>https://github.com/dotnet/aspnetcore</Uri>
3131
<Sha>ae1a6cbe225b99c0bf38b7e31bf60cb653b73a52</Sha>
3232
</Dependency>
33-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.22076.8">
33+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.22077.13">
3434
<Uri>https://github.com/dotnet/arcade</Uri>
35-
<Sha>214dd59f1d81f8e34289cfb173cf66fb2cd2f467</Sha>
35+
<Sha>50956f12e0a3d2eecf1ac5f6a30820f5e2355e3d</Sha>
3636
</Dependency>
37-
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="6.0.0-beta.22076.8">
37+
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="6.0.0-beta.22077.13">
3838
<Uri>https://github.com/dotnet/arcade</Uri>
39-
<Sha>214dd59f1d81f8e34289cfb173cf66fb2cd2f467</Sha>
39+
<Sha>50956f12e0a3d2eecf1ac5f6a30820f5e2355e3d</Sha>
4040
</Dependency>
4141
<Dependency Name="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0">
4242
<Uri>https://github.com/dotnet/runtime</Uri>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
-->
3131
<PropertyGroup Label="Automated">
3232
<!-- dotnet/arcade references -->
33-
<MicrosoftDotNetXUnitExtensionsVersion>6.0.0-beta.22076.8</MicrosoftDotNetXUnitExtensionsVersion>
33+
<MicrosoftDotNetXUnitExtensionsVersion>6.0.0-beta.22077.13</MicrosoftDotNetXUnitExtensionsVersion>
3434
<!-- dotnet/aspnetcore references -->
3535
<MicrosoftAspNetCoreAppRuntimewinx64Version>6.0.0</MicrosoftAspNetCoreAppRuntimewinx64Version>
3636
<VSRedistCommonAspNetCoreSharedFrameworkx6460Version>6.0.0-rtm.21526.8</VSRedistCommonAspNetCoreSharedFrameworkx6460Version>

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
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
parameters:
2+
# See schema documentation in /Documentation/AzureDevOps/TemplateSchema.md
3+
continueOnError: false
4+
# Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job
5+
jobs: []
6+
# Optional: if specified, restore and use this version of Guardian instead of the default.
7+
overrideGuardianVersion: ''
8+
9+
jobs:
10+
- template: /eng/common/templates/jobs/jobs.yml
11+
parameters:
12+
enableMicrobuild: false
13+
enablePublishBuildArtifacts: false
14+
enablePublishTestResults: false
15+
enablePublishBuildAssets: false
16+
enablePublishUsingPipelines: false
17+
enableTelemetry: true
18+
19+
variables:
20+
- group: Publish-Build-Assets
21+
# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
22+
# sync with the packages.config file.
23+
- name: DefaultGuardianVersion
24+
value: 0.109.0
25+
- name: GuardianPackagesConfigFile
26+
value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
27+
- name: GuardianVersion
28+
value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}
29+
30+
jobs: ${{ parameters.jobs }}
31+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
parameters:
2+
# Language that should be analyzed. Defaults to csharp
3+
language: csharp
4+
# Build Commands
5+
buildCommands: ''
6+
overrideParameters: '' # Optional: to override values for parameters.
7+
additionalParameters: '' # Optional: parameters that need user specific values eg: '-SourceToolsList @("abc","def") -ArtifactToolsList @("ghi","jkl")'
8+
# Optional: if specified, restore and use this version of Guardian instead of the default.
9+
overrideGuardianVersion: ''
10+
# Optional: if true, publish the '.gdn' folder as a pipeline artifact. This can help with in-depth
11+
# diagnosis of problems with specific tool configurations.
12+
publishGuardianDirectoryToPipeline: false
13+
# The script to run to execute all SDL tools. Use this if you want to use a script to define SDL
14+
# parameters rather than relying on YAML. It may be better to use a local script, because you can
15+
# reproduce results locally without piecing together a command based on the YAML.
16+
executeAllSdlToolsScript: 'eng/common/sdl/execute-all-sdl-tools.ps1'
17+
# There is some sort of bug (has been reported) in Azure DevOps where if this parameter is named
18+
# 'continueOnError', the parameter value is not correctly picked up.
19+
# This can also be remedied by the caller (post-build.yml) if it does not use a nested parameter
20+
# optional: determines whether to continue the build if the step errors;
21+
sdlContinueOnError: false
22+
23+
steps:
24+
- template: /eng/common/templates/steps/execute-sdl.yml
25+
parameters:
26+
overrideGuardianVersion: ${{ parameters.overrideGuardianVersion }}
27+
executeAllSdlToolsScript: ${{ parameters.executeAllSdlToolsScript }}
28+
overrideParameters: ${{ parameters.overrideParameters }}
29+
additionalParameters: '${{ parameters.additionalParameters }}
30+
-CodeQLAdditionalRunConfigParams @("BuildCommands < ${{ parameters.buildCommands }}", "Language < ${{ parameters.language }}")'
31+
publishGuardianDirectoryToPipeline: ${{ parameters.publishGuardianDirectoryToPipeline }}
32+
sdlContinueOnError: ${{ parameters.sdlContinueOnError }}

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
},
1717
"msbuild-sdks": {
1818
"Microsoft.Build.NoTargets": "2.0.1",
19-
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.22076.8"
19+
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.22077.13"
2020
}
2121
}

0 commit comments

Comments
 (0)