Skip to content

Commit 2290a7f

Browse files
committed
can't disable
1 parent 5f32b55 commit 2290a7f

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,6 @@ jobs:
124124
- 'Build_Windows'
125125
- 'Build_MacOS'
126126

127-
# Component governance collates discovered dependencies from a combination of
128-
# manifest files, splatted json output from CG detections, setup.py files, and other sources.
129-
# At this point in the job, we have downloadeded package artifacts from 3 previous platform-specific build jobs,
130-
# so the directory that will be published as packages_extended _already contains_ a collated set of dependencies by
131-
# json file. When we attempt to publish the packages_extended artifact, CG re-collates data from the current job, but ALSO
132-
# includes all the data from json files left behind by the previous jobs. While this doesn't result in double counting,
133-
# we've been running into some nasty timeout issues of the CG running on this job specifically.
134-
#
135-
# Given that we've ALREADY RUN CG on the previous jobs, we can safely disable it here.
136-
templateContext:
137-
sdl:
138-
componentgovernance:
139-
enabled: false
140-
justificationForDisabling: "We've already run CG on the previous jobs, and we're running into timeout issues due to previous outputs."
141-
142127
timeoutInMinutes: 90
143128

144129
pool:

eng/pipelines/templates/steps/build-extended-artifacts.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ steps:
8888
workingDirectory: $(Pipeline.Workspace)
8989
displayName: Update package properties with namespaces
9090

91+
- pwsh: |
92+
Get-ChildItem -Path "$(Build.ArtifactStagingDirectory)" -Filter GovCompDisc* | % { Remove-Item $_ }
93+
Get-ChildItem -Path "$(Build.ArtifactStagingDirectory)" -Filter ScanTelemetry* | % { Remove-Item $_ }
94+
Remove-Item -Recurse -Force -Path "$(Build.ArtifactStagingDirectory)/bcde-output"
95+
displayName: Clean up Artifact Directory
96+
9197
- template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
9298
parameters:
9399
ArtifactPath: '$(Build.ArtifactStagingDirectory)'

0 commit comments

Comments
 (0)