1
0
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:
Vincent Demeester 2019-11-08 17:23:24 +01:00 committed by tekton-robot
parent a2c1c09bfc
commit 5c2ab7d6c3
18 changed files with 100 additions and 67 deletions

35
.yamllint Normal file
View 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

View File

@ -52,4 +52,3 @@ spec:
command: ["/usr/bin/tower-cli"]
args:
- "$(inputs.params.ARGS)"

View File

@ -1,3 +1,4 @@
---
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:

View File

@ -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"

View File

@ -92,4 +92,3 @@ spec:
args:
- --dockerfile=$(inputs.params.DOCKERFILE)
- --destination=$(outputs.resources.runtime-image.url)

View File

@ -5,4 +5,3 @@ metadata:
name: openwhisk-runtime-builder
secrets:
- name: dockerhub-user-pass