Skip to content

Commit 9fb4f93

Browse files
committed
disable cg on specific job
1 parent 1c8cacf commit 9fb4f93

File tree

1 file changed

+9
-0
lines changed
  • eng/pipelines/templates/jobs

1 file changed

+9
-0
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,15 @@ 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.
127136
templateContext:
128137
sdl:
129138
componentgovernance:

0 commit comments

Comments
 (0)