Use EXECUTABLE_PATH in check analyzer version
What does this MR do?
This MR updates the check analyzer version
job so it can accept an EXECUTABLE_PATH
variable which points to the analyzer/sbom generator binary. This is necessary because all of the existing analyzers use an analyzer binary located at /analyzer
, however, Create Golang SBOM generator (gitlab-org/security-products/analyzers/gemnasium!354 - merged) adds a new SBOM generator tool named sbomgen-golang
, and we're going to create more tools in gemnasium named sbomgen-<language>
, so we need some way to pass the executable name to the check analyzer version
so it knows which binary to execute in order to check the version value.
What are the relevant issue numbers?
2 - Create language-specific SBOM-generator for Go (gitlab-org/gitlab#364870 - closed)
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Tested in this job
- Tested in this pipeline
Edited by Adam Cohen