Skip to content
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

fix(RHTAPWATCH-538): add kube-linter tekton task #196

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .github/workflows/kube-linter.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .tekton/o11y-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,24 @@ spec:
git config --global --add safe.directory '*'
git fetch origin "$(params.target-branch)"
gitlint --fail-without-commits --commits "origin/$(params.target-branch)..HEAD"
- name: run-kubelint
runAfter:
- clone-repository
workspaces:
- name: source
workspace: workspace
taskRef:
resolver: git
params:
- name: url
value: https://github.com/tektoncd/catalog.git
- name: revision
value: main
- name: pathInRepo
value: task/kube-linter/0.1/kube-linter.yaml
params:
- name: config_file_path
value: source/.kube-linter.yaml
- name: run-go-unit-tests
workspaces:
- name: workspace
Expand Down