-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve prow-test-dumper to crosscheck settings
Improve prow-test-dumper.py not only to dump test settings from prow config.yaml, to actually crosscheck versus GitHub branch protections. This highlights any mismatches we might have, accounting for both missing but also extra checks. Also, set defaults to metal3-io file locations so --job-dir and --config do not need to be input in our use case. GITHUB_TOKEN with maintainer read rights must be exported in env, or supplied with --token to do this. If token is not found, old behavior of just dumping the config is done, but no crosschecking. Using token with invalid/missing rights error out. Signed-off-by: Tuomo Tanskanen <[email protected]>
- Loading branch information
Showing
1 changed file
with
86 additions
and
10 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