-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for validating one job in a workflow
Extend the `ghasum verify` command with the ability to verify a single job in a workflow. In particular, when the provided target ends with `:suffix` the suffix will be stripped and used as the job id/key, the rest of the target is then treated as the workflow to verify. This will result in the verification scope being limited to only that job (in that workflow). The new behavior is tested primarily through `testscript` tests covering both good weather and bad weather scenarios (this also improves the good weather scenarios for verification by covering the scenario where only some of the checksums are valid and only those are being validated for both workflow and job verification). Additionally, local functionality is unit tested in places where unit tests already exist.
- Loading branch information
1 parent
0207c4e
commit 32bdb8c
Showing
10 changed files
with
368 additions
and
41 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
Oops, something went wrong.