Skip to content

Use EXECUTABLE_PATH in check analyzer version

Adam Cohen requested to merge use-executable-path-in-check-analyzer-version into master

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?

Edited by Adam Cohen

Merge request reports