add a yaml linting step to the ci
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

catches problems in the drone ci file as well
This commit is contained in:
Patrick Marchand 2020-06-04 11:41:49 -04:00
parent 4e8fca725c
commit f8d6a0be86
1 changed files with 5 additions and 0 deletions

View File

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