Disable DS auto-remediation
What does this MR do?
Force DS_REMEDIATE
to false in gemnasium-dependency_scanning
, to reduce the execution time of the pipeline. gemnasium-dependency_scanning
was the longer job of the test
stage, and that was because of auto-remediation.
Prior to this change it takes about 10 minutes to run the pipeline. See https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/pipelines/230558222
In this MR, it takes 6 minutes to run a similar pipeline. See https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/pipelines/230700584
CLOSED and replaced with !149 (merged). See comment
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?
Changelog entry added-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau