-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/validate-krew-manifest: initial implementation #151
Conversation
Codecov Report
@@ Coverage Diff @@
## master #151 +/- ##
=======================================
- Coverage 52.91% 50.91% -2%
=======================================
Files 12 13 +1
Lines 618 711 +93
=======================================
+ Hits 327 362 +35
- Misses 240 297 +57
- Partials 51 52 +1
Continue to review full report at Codecov.
|
c3c59a0
to
e5248f6
Compare
cc: @juanvallejo |
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
e5248f6
to
b36f0f6
Compare
@ahmetb trying this out locally. Currently running into the following error:
|
@juanvallejo you need to install krew first. The validator runs For example, the install failed to symlink "change-ns" on windows, because the |
@ahmetb yep thanks, had some path issues with kubectl. Appears to be working now |
Ideally we'd take some of the validation here (like "has overlapping platform selectors", "all selectors map to at least one supported os/arch") and put it in |
lgtm |
This tool takes a manifest file and runs certain validation steps. It's meant
to test plugin manifests added to krew-index install correctly (so far it has
found one broken manifest).
Fixes #148.
Related to #149 but doesn't fix it.