add a yaml linting step to the ci
catches problems in the drone ci file as well
This commit is contained in:
parent
4e8fca725c
commit
f8d6a0be86
|
@ -4,6 +4,11 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: lint yaml files
|
||||||
|
image: pipelinecomponents/yamllint:latest
|
||||||
|
commands:
|
||||||
|
- "yamllint ."
|
||||||
|
|
||||||
- name: lint ansible scripts
|
- name: lint ansible scripts
|
||||||
image: pipelinecomponents/ansible-lint:latest
|
image: pipelinecomponents/ansible-lint:latest
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue