-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prints all plugins when invoking
sonobuoy results
by default (#909)
If given a tarball, there is not a way to detect which plugins were actually run without opening it up first. This means that the `sonobuoy results` command is less useful since you have to have preexisting knowledge about the tarball/run. You'd also have to manually execute the command numerous times if you want all the summaries of the plugins. This change: - makes the default value for the `--plugin` flag the empty string - when a string value is given, it will print a single report like the existing behavior - when the default, empty string is used, we will list the report for each plugin - adds a new file, meta/info.json which will contain the list of plugins that were actually run so that it is easier to grab this list (rather than more complicated logic using the other data in the tarball) Fixes #905 Signed-off-by: John Schnake <[email protected]>
- Loading branch information
1 parent
aae48ef
commit d9ca4ba
Showing
4 changed files
with
88 additions
and
3 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
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