Add log statement and INTERNAL_DS_ANALYZER_CI_INTEGRATION env var

What does this MR do and why?

Adds a log statement in the dependency-scanning job so that we know which DS template/component version is used. Going forward we will have new versions of the template. It is important to easily identify which DS template is used. Additionally we introduce an internal only env var named DS_ANALYZER_CI_INTEGRATION. This env var will be used to track which source introduces the new DS analyzer. A source can be a template or a component.

DS_ANALYZER_CI_INTEGRATION possible example values:

  • latest_template
  • v2_template
  • stable_template
  • v1.1.0_component

Relates to Add DS_ANALYZER_CI_INTEGRATION and log statemen... (gitlab-org/gitlab!210064 - merged) and Collect information on how the new DS analyzer ... (gitlab-org/gitlab#578952 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Nick Ilieskou

Merge request reports

Loading