From a05c59db10df2afd75dc8211bbfb56db7abf4ae1 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Wed, 3 May 2023 19:10:11 +0000 Subject: [PATCH 1/2] Update dependencies from https://github.com/dotnet/xharness build 20230503.6 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.21404.1 -> To Version 6.0.0-prerelease.23253.6 --- .config/dotnet-tools.json | 2 +- NuGet.config | 1 + eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index e39fc127a1123f..ef2073ccd06da7 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "microsoft.dotnet.xharness.cli": { - "version": "1.0.0-prerelease.21404.1", + "version": "6.0.0-prerelease.23253.6", "commands": [ "xharness" ] diff --git a/NuGet.config b/NuGet.config index 0ebeca39c37f92..717b6efefc9008 100644 --- a/NuGet.config +++ b/NuGet.config @@ -10,6 +10,7 @@ + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 382c3b8df38e0c..bd39c9ce8262eb 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -214,13 +214,13 @@ https://github.com/mono/linker c8499798a2a09639174e2f5c694d6652794cc73d - + https://github.com/dotnet/xharness - e9669dc84ecd668d3bbb748758103e23b394ffef + bc2e9e39a7b424f6e96af8d677d12ac58606753a - + https://github.com/dotnet/xharness - e9669dc84ecd668d3bbb748758103e23b394ffef + bc2e9e39a7b424f6e96af8d677d12ac58606753a https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index aecc88f8a60a0e..3458aadcfe67d3 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -143,8 +143,8 @@ 1.0.1-prerelease-00006 17.4.0-preview-20220707-01 - 1.0.0-prerelease.21404.1 - 1.0.0-prerelease.21404.1 + 6.0.0-prerelease.23253.6 + 6.0.0-prerelease.23253.6 6.0.0-alpha.0.23226.4 2.4.2-pre.9 2.4.2 From dea1a43c9e1f18801cac5a7dcde31ca1a02d3a6b Mon Sep 17 00:00:00 2001 From: Premek Vysoky Date: Thu, 4 May 2023 10:25:18 +0200 Subject: [PATCH 2/2] Update Arcade - `6.0.0-beta.23211.7` => `6.0.0-beta.23221.7` (from build `20230421.7` of `https://github.com/dotnet/arcade`) --- eng/Version.Details.xml | 76 +++++++++---------- eng/Versions.props | 30 ++++---- eng/common/templates/job/job.yml | 12 ++- .../templates/steps/component-governance.yml | 10 +++ global.json | 8 +- 5 files changed, 75 insertions(+), 61 deletions(-) create mode 100644 eng/common/templates/steps/component-governance.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index bd39c9ce8262eb..c84adc92c9a405 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -26,77 +26,77 @@ - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 https://github.com/microsoft/vstest @@ -222,9 +222,9 @@ https://github.com/dotnet/xharness bc2e9e39a7b424f6e96af8d677d12ac58606753a - + https://github.com/dotnet/arcade - 7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26 + 3d9c9a4d3d893e903bb3295fd5b55b8e40699888 https://dev.azure.com/dnceng/internal/_git/dotnet-optimization diff --git a/eng/Versions.props b/eng/Versions.props index 3458aadcfe67d3..7bcb8b1213e54b 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -42,21 +42,21 @@ 1.1.0-preview.22164.17 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 2.5.1-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 - 6.0.0-beta.23211.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 2.5.1-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 + 6.0.0-beta.23221.7 6.0.0-preview.1.102 diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index 547d878da073ae..e5784440d0bb29 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -24,7 +24,7 @@ parameters: enablePublishBuildAssets: false enablePublishTestResults: false enablePublishUsingPipelines: false - disableComponentGovernance: false + disableComponentGovernance: '' mergeTestResults: false testRunTitle: '' testResultsFormat: '' @@ -141,9 +141,13 @@ jobs: richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin continueOnError: true - - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}: - - task: ComponentGovernanceComponentDetection@0 - continueOnError: true + - template: /eng/common/templates/steps/component-governance.yml + parameters: + ${{ if eq(parameters.disableComponentGovernance, '') }}: + ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(contains(variables['Build.SourceBranch'], 'internal/release'), eq(variables['Build.SourceBranch'], 'main'))) }}: + disableComponentGovernance: false + ${{ else }}: + disableComponentGovernance: true - ${{ if eq(parameters.enableMicrobuild, 'true') }}: - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: diff --git a/eng/common/templates/steps/component-governance.yml b/eng/common/templates/steps/component-governance.yml new file mode 100644 index 00000000000000..babc2757d8d123 --- /dev/null +++ b/eng/common/templates/steps/component-governance.yml @@ -0,0 +1,10 @@ +parameters: + disableComponentGovernance: false + +steps: +- ${{ if eq(parameters.disableComponentGovernance, 'true') }}: + - script: "echo ##vso[task.setvariable variable=skipComponentGovernanceDetection]true" + displayName: Set skipComponentGovernanceDetection variable +- ${{ if ne(parameters.disableComponentGovernance, 'true') }}: + - task: ComponentGovernanceComponentDetection@0 + continueOnError: true \ No newline at end of file diff --git a/global.json b/global.json index 85b8bcde770d49..49180d70c9d093 100644 --- a/global.json +++ b/global.json @@ -12,10 +12,10 @@ "python3": "3.7.1" }, "msbuild-sdks": { - "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "6.0.0-beta.23211.7", - "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.23211.7", - "Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23211.7", - "Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.23211.7", + "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "6.0.0-beta.23221.7", + "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.23221.7", + "Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23221.7", + "Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.23221.7", "Microsoft.Build.NoTargets": "3.1.0", "Microsoft.Build.Traversal": "3.0.23", "Microsoft.NET.Sdk.IL": "6.0.0-rc.1.21415.6"