mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +00:00
Linting yamls with yamllint 🏷
Next update of plumbing will enable `yamllint` check, so this make
sure we have linted yaml before 👼
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
This commit is contained in:
parent
a2c1c09bfc
commit
5c2ab7d6c3
35
.yamllint
Normal file
35
.yamllint
Normal file
@ -0,0 +1,35 @@
|
||||
ignore: |
|
||||
/vendor
|
||||
|
||||
rules:
|
||||
braces: enable
|
||||
brackets: enable
|
||||
colons: enable
|
||||
commas: enable
|
||||
comments:
|
||||
level: warning
|
||||
comments-indentation:
|
||||
level: warning
|
||||
document-end: disable
|
||||
document-start: disable
|
||||
empty-lines: enable
|
||||
empty-values: enable
|
||||
hyphens: enable
|
||||
key-duplicates: enable
|
||||
key-ordering: disable
|
||||
line-length: disable
|
||||
new-line-at-end-of-file: disable
|
||||
new-lines: enable
|
||||
octal-values: enable
|
||||
quoted-strings: disable
|
||||
trailing-spaces: enable
|
||||
truthy:
|
||||
level: warning
|
||||
|
||||
# accept both key:
|
||||
# - item
|
||||
#
|
||||
# and key:
|
||||
# - item
|
||||
indentation:
|
||||
indent-sequences: whatever
|
@ -52,4 +52,3 @@ spec:
|
||||
command: ["/usr/bin/tower-cli"]
|
||||
args:
|
||||
- "$(inputs.params.ARGS)"
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: tekton.dev/v1alpha1
|
||||
kind: Task
|
||||
metadata:
|
||||
|
@ -11,7 +11,7 @@ spec:
|
||||
description: flags to use for the test command
|
||||
default: --verbose
|
||||
- name: version
|
||||
default: golangci-lint version to use
|
||||
description: golangci-lint version to use
|
||||
default: "v1.17.1"
|
||||
- name: GOOS
|
||||
description: "running operating system target"
|
||||
|
@ -92,4 +92,3 @@ spec:
|
||||
args:
|
||||
- --dockerfile=$(inputs.params.DOCKERFILE)
|
||||
- --destination=$(outputs.resources.runtime-image.url)
|
||||
|
||||
|
@ -5,4 +5,3 @@ metadata:
|
||||
name: openwhisk-runtime-builder
|
||||
secrets:
|
||||
- name: dockerhub-user-pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user