Programmatically enforce scanner version
What does this MR do?
This MR updates the metadata
package so it automatically reads the scanner version value from the SCANNER_VERSION
environment variable defined in the Dockerfile
. This will make it easier to update the upstream scanner version, since we'll have a single source of truth to define the version, instead of needing to remember to update two different files.
A changelog entry is not needed because there are no behaviour changes.
What are the relevant issue numbers?
gitlab-org/gitlab#235059 (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 Daniel Paul Searles