Skip to content

Remove scanner/testdata in gemnasium job

Fabien Catteau requested to merge fcatteau-master-patch-54734 into master

What does this MR do?

Remove all testdata and fixtures directories from scanner directory before running gemnasium, to speed up Dependency Scanning (remediatiation) and remove false-positives.

Duration of the gemnasium-dependency_scanning job goes from 5 minutes (5'26") to 33 seconds.

Total duration for the pipeline goes from 11 min (10'35") to 8 min (7'42"). This is a 27% decrease.

What are the relevant issue numbers?

See @fcatteau's KRs for FY21-Q4:

30% decrease in analyzer pipeline duration when pushing to MR

gitlab-com/www-gitlab-com#10030 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports