Add tkn verify/validate subcommand
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 461
- Forks
- 277
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 95
Description
Feature request
Add a new subcommand to the tkn cli to verify/validate pipeline syntax. There is a dru-run flag, but it requires k8s cluster or at least credentials. Instead we can de-serialize the yaml file and try to create the Tekton resource, which does not require k8s clusters or credentials.
Furthermore we can also test for remote resolutions of referenced objects.
Use case
UI Example
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the tkn CLI's existing dry-run handling and command structure. Clarify the supported YAML validation flow, including Tekton resource creation without a cluster and checks for remote resolutions; done should include a defined subcommand interface and validation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100