File tree Expand file tree Collapse file tree 8 files changed +35
-5
lines changed Expand file tree Collapse file tree 8 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1717 </Dependency >
1818 </ProductDependencies >
1919 <ToolsetDependencies >
20- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 8.0.0-beta.25415.2 " >
20+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 8.0.0-beta.25427.4 " >
2121 <Uri >https://github.com/dotnet/arcade</Uri >
22- <Sha >2f70e458e03e348a3a1f3fd6b9b70b4fcd5ba596 </Sha >
22+ <Sha >6e78cc9faf0ab29992b01007d71519655344e74c </Sha >
2323 <SourceBuild RepoName =" arcade" ManagedOnly =" true" />
2424 </Dependency >
2525 <Dependency Name =" Microsoft.DotNet.XliffTasks" Version =" 1.0.0-beta.23475.1" CoherentParentDependency =" Microsoft.DotNet.Arcade.Sdk" >
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ parameters:
3131 # container and pool.
3232 platform : {}
3333
34+ # Optional list of directories to ignore for component governance scans.
35+ cgIgnoreDirectories : []
36+
3437 # If set to true and running on a non-public project,
3538 # Internal blob storage locations will be enabled.
3639 # This is not enabled by default because many repositories do not need internal sources
7376 - template : /eng/common/templates-official/steps/source-build.yml
7477 parameters :
7578 platform : ${{ parameters.platform }}
79+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ parameters:
2121 # one job runs on 'defaultManagedPlatform'.
2222 platforms : []
2323
24+ # Optional list of directories to ignore for component governance scans.
25+ cgIgnoreDirectories : []
26+
2427 # If set to true and running on a non-public project,
2528 # Internal nuget and blob storage locations will be enabled.
2629 # This is not enabled by default because many repositories do not need internal sources
@@ -44,11 +47,13 @@ jobs:
4447 parameters :
4548 jobNamePrefix : ${{ parameters.jobNamePrefix }}
4649 platform : ${{ platform }}
50+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
4751 enableInternalSources : ${{ parameters.enableInternalSources }}
4852
4953- ${{ if eq(length(parameters.platforms), 0) }} :
5054 - template : /eng/common/templates-official/job/source-build.yml
5155 parameters :
5256 jobNamePrefix : ${{ parameters.jobNamePrefix }}
5357 platform : ${{ parameters.defaultManagedPlatform }}
58+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
5459 enableInternalSources : ${{ parameters.enableInternalSources }}
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ parameters:
1212 # the usage of the properties on this object is split between the 'job' and 'steps' templates.
1313 platform : {}
1414
15+ # Optional list of directories to ignore for component governance scans.
16+ cgIgnoreDirectories : []
17+
1518steps :
1619# Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.)
1720- script : |
@@ -126,4 +129,7 @@ steps:
126129- task : ComponentGovernanceComponentDetection@0
127130 displayName : Component Detection (Exclude upstream cache)
128131 inputs :
129- ignoreDirectories : ' $(System.DefaultWorkingDirectory)/artifacts/source-build/self/src/artifacts/obj/source-built-upstream-cache'
132+ ${{ if eq(length(parameters.cgIgnoreDirectories), 0) }} :
133+ ignoreDirectories : ' $(System.DefaultWorkingDirectory)/artifacts/source-build/self/src/artifacts/obj/source-built-upstream-cache'
134+ ${{ else }} :
135+ ignoreDirectories : ${{ join(',', parameters.cgIgnoreDirectories) }}
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ parameters:
3131 # container and pool.
3232 platform : {}
3333
34+ # Optional list of directories to ignore for component governance scans.
35+ cgIgnoreDirectories : []
36+
3437 # If set to true and running on a non-public project,
3538 # Internal blob storage locations will be enabled.
3639 # This is not enabled by default because many repositories do not need internal sources
7275 - template : /eng/common/templates/steps/source-build.yml
7376 parameters :
7477 platform : ${{ parameters.platform }}
78+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ parameters:
2121 # one job runs on 'defaultManagedPlatform'.
2222 platforms : []
2323
24+ # Optional list of directories to ignore for component governance scans.
25+ cgIgnoreDirectories : []
26+
2427 # If set to true and running on a non-public project,
2528 # Internal nuget and blob storage locations will be enabled.
2629 # This is not enabled by default because many repositories do not need internal sources
@@ -44,11 +47,13 @@ jobs:
4447 parameters :
4548 jobNamePrefix : ${{ parameters.jobNamePrefix }}
4649 platform : ${{ platform }}
50+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
4751 enableInternalSources : ${{ parameters.enableInternalSources }}
4852
4953- ${{ if eq(length(parameters.platforms), 0) }} :
5054 - template : /eng/common/templates/job/source-build.yml
5155 parameters :
5256 jobNamePrefix : ${{ parameters.jobNamePrefix }}
5357 platform : ${{ parameters.defaultManagedPlatform }}
58+ cgIgnoreDirectories : ${{ parameters.cgIgnoreDirectories }}
5459 enableInternalSources : ${{ parameters.enableInternalSources }}
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ parameters:
1212 # the usage of the properties on this object is split between the 'job' and 'steps' templates.
1313 platform : {}
1414
15+ # Optional list of directories to ignore for component governance scans.
16+ cgIgnoreDirectories : []
17+
1518steps :
1619# Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.)
1720- script : |
@@ -126,4 +129,7 @@ steps:
126129- task : ComponentGovernanceComponentDetection@0
127130 displayName : Component Detection (Exclude upstream cache)
128131 inputs :
129- ignoreDirectories : ' $(System.DefaultWorkingDirectory)/artifacts/source-build/self/src/artifacts/obj/source-built-upstream-cache'
132+ ${{ if eq(length(parameters.cgIgnoreDirectories), 0) }} :
133+ ignoreDirectories : ' $(System.DefaultWorkingDirectory)/artifacts/source-build/self/src/artifacts/obj/source-built-upstream-cache'
134+ ${{ else }} :
135+ ignoreDirectories : ${{ join(',', parameters.cgIgnoreDirectories) }}
Original file line number Diff line number Diff line change 33 "dotnet" : " 8.0.119"
44 },
55 "msbuild-sdks" : {
6- "Microsoft.DotNet.Arcade.Sdk" : " 8.0.0-beta.25415.2 "
6+ "Microsoft.DotNet.Arcade.Sdk" : " 8.0.0-beta.25427.4 "
77 }
88}
You can’t perform that action at this time.
0 commit comments