Adding v1 ApiVersioning compatibility for catlins pre-commit hooks
Running catlin pre-commit hooks on yaml files with apiVersion v1 and kind task failed. This is a minimal fix that adds some support for v1 and maintains support to v1beta1. Issue: https://github.com/tektoncd/catlin/issues/10
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: arifash01 / name: Arif Ashogbon (3b43dfddccad5be947ea36c9e2e505758c722301)
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign piyush-garg after the PR has been reviewed.
You can assign the PR to them by writing /assign @piyush-garg in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @arifash01. Thanks for your PR.
I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@arifash01 Please sign the cla.
The following is the coverage report on the affected files.
Say /test pull-tekton-catlin-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/linter/script.go | 68.0% | 69.0% | 1.0 |
| pkg/validator/task_validator.go | 93.0% | 77.6% | -15.4 |
The following is the coverage report on the affected files.
Say /test pull-tekton-catlin-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/linter/script.go | 68.0% | 69.0% | 1.0 |
| pkg/validator/task_validator.go | 93.0% | 77.6% | -15.4 |
The following is the coverage report on the affected files.
Say /test pull-tekton-catlin-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/linter/script.go | 68.0% | 69.0% | 1.0 |
| pkg/validator/task_validator.go | 93.0% | 77.6% | -15.4 |
The following is the coverage report on the affected files.
Say /test pull-tekton-catlin-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/linter/script.go | 68.0% | 69.0% | 1.0 |
| pkg/validator/task_validator.go | 93.0% | 77.6% | -15.4 |
@arifash01 Please sign the cla.
done