From 58bb98a1bc237597e165954c860815f0c5de7a7c Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Fri, 21 Apr 2023 17:19:05 +0000
Subject: [PATCH] [main] Update dependencies from dotnet/arcade (#16183)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
- Microsoft.SourceLink.GitHub: from 8.0.0-beta.23218.1 to 8.0.0-beta.23218.3 (parent: Microsoft.DotNet.Arcade.Sdk)
- Microsoft.DotNet.XliffTasks: from 1.0.0-beta.23217.1 to 1.0.0-beta.23218.1 (parent: Microsoft.DotNet.Arcade.Sdk)
---
eng/Version.Details.xml | 20 +++++++++----------
eng/Versions.props | 2 +-
eng/common/templates/job/job.yml | 15 ++++++++------
.../templates/steps/component-governance.yml | 13 ++++++++++++
global.json | 4 ++--
5 files changed, 35 insertions(+), 19 deletions(-)
create mode 100644 eng/common/templates/steps/component-governance.yml
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index be274848c..2f3fc9d4f 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -193,18 +193,18 @@
-
+
https://github.com/dotnet/arcade
- dca04a5ec44fe1e75535f51a4e0b9a7aa2318de7
+ d75baf71a09ed067b48f484f29efc4e7f3e3df13
-
+
https://github.com/dotnet/arcade
- dca04a5ec44fe1e75535f51a4e0b9a7aa2318de7
+ d75baf71a09ed067b48f484f29efc4e7f3e3df13
-
+
https://github.com/dotnet/arcade
- dca04a5ec44fe1e75535f51a4e0b9a7aa2318de7
+ d75baf71a09ed067b48f484f29efc4e7f3e3df13
https://github.com/dotnet/arcade-services
@@ -223,14 +223,14 @@
c73065ba502e1982f4ae743ebd0fc6bb8cf06690
-
+
https://github.com/dotnet/sourcelink
- d4e7ffb47785c4ff21fcffa0a29aa20fec3a5980
+ 47c52dd2ebf9edfd40abdcff999c13eb461f6ce2
-
+
https://github.com/dotnet/xliff-tasks
- 2d18d93582529a08ec2ff6da2d2f5c8e9a6b5e26
+ f35dcbb16190810eb88b103fb1f2cd48a3a76cf0
diff --git a/eng/Versions.props b/eng/Versions.props
index 99e1d80d2..35d5abf2a 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -33,7 +33,7 @@
- 8.0.0-beta.23219.2
+ 8.0.0-beta.23220.2
diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml
index b214a31db..a21533fdd 100644
--- a/eng/common/templates/job/job.yml
+++ b/eng/common/templates/job/job.yml
@@ -25,7 +25,7 @@ parameters:
enablePublishTestResults: false
enablePublishUsingPipelines: false
enableBuildRetry: false
- disableComponentGovernance: false
+ disableComponentGovernance: ''
componentGovernanceIgnoreDirectories: ''
mergeTestResults: false
testRunTitle: ''
@@ -155,11 +155,14 @@ jobs:
uploadRichNavArtifacts: ${{ coalesce(parameters.richCodeNavigationUploadArtifacts, false) }}
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
- inputs:
- ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
+ - 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
+ componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
- ${{ 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 000000000..0ecec47b0
--- /dev/null
+++ b/eng/common/templates/steps/component-governance.yml
@@ -0,0 +1,13 @@
+parameters:
+ disableComponentGovernance: false
+ componentGovernanceIgnoreDirectories: ''
+
+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
+ inputs:
+ ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
\ No newline at end of file
diff --git a/global.json b/global.json
index 411644054..2de230988 100644
--- a/global.json
+++ b/global.json
@@ -11,7 +11,7 @@
"cmake": "3.21.0"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23219.2",
- "Microsoft.DotNet.CMake.Sdk": "8.0.0-beta.23219.2"
+ "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23220.2",
+ "Microsoft.DotNet.CMake.Sdk": "8.0.0-beta.23220.2"
}
}