Skip to content

Commit b4406de

Browse files
committed
Add manual validation checks to comply with Catalog Org TEP
We would need to ensure that the PR submissions are manually validated against the [TEP-003] until we have the [validation tool] added to CI. Signed-off-by: Sunil Thaha <sthaha@redhat.com> --- [TEP-003]: https://github.com/tektoncd/community/blob/master/teps/0003-tekton-catalog-organization.md [validation tool]: tektoncd#413
1 parent d7e5c6d commit b4406de

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/pull_request_template.md

+21
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,27 @@ review them:
1313
- [ ] Includes [docs](https://github.com/tektoncd/community/blob/master/standards.md#principles) (if user facing)
1414
- [ ] Commit messages follow [commit message best practices](https://github.com/tektoncd/community/blob/master/standards.md#commit-messages)
1515
- [ ] Yaml file complies with [yamllint](https://github.com/adrienverge/yamllint) rules.
16+
- [ ] Complies with [Catalog Orgainization TEP][TEP], see [example]. **Note** [An issue has been filed to automate this validation][validation]
17+
- [ ] File path follows `<kind>/<name>/<version>/name.yaml`
18+
- [ ] Has `README.md` at `<kind>/<name>/<version>/README.md`
19+
- [ ] Has mandatory `metadata.labels` - `app.kubernetes.io/version` the same as the `<version>` of the resource
20+
- [ ] Has mandatory `metadata.annotations` `tekton.dev/pipelines.minVersion`
21+
- [ ] mandatory `spec.description` follows the convention
22+
23+
```
24+
25+
spec:
26+
description: >-
27+
one line summary of the resource
28+
29+
Paragraph(s) to describe the resource.
30+
```
1631

1732
_See [the contribution guide](https://github.com/tektoncd/catalog/blob/master/CONTRIBUTING.md)
1833
for more details._
34+
35+
---
36+
37+
[TEP]: https://github.com/tektoncd/community/blob/master/teps/0003-tekton-catalog-organization.md
38+
[example]: https://github.com/tektoncd/catalog/tree/master/task/git-clone/0.1
39+
[validation]: https://github.com/tektoncd/catalog/issues/413

0 commit comments

Comments
 (0)