-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/scan,cmd/ejobs: support GCS module files
The user can specify a list of modules by uploading a file to GCS and providing that file to the analysis/enqueue route. The ejobs command supports this with the -file flag to start, which takes a local file and uploads it, as it does with binaries. There has always been a way to provide a file of modules instead of reading them from pkgsite, but the filename had to refer to a local file, making it useful only for local testing or files included in the deployment. This feature makes it more generally useful. Change-Id: Iea6b7949e2314b656e36584067e04a6e55b27b90 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/643535 Reviewed-by: Zvonimir Pavlinovic <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
3 changed files
with
122 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters