Fixing drone workdir for yamllint
This commit is contained in:
@@ -10,7 +10,7 @@ steps:
|
|||||||
- name: lint
|
- name: lint
|
||||||
image: bdebyl/yamllint
|
image: bdebyl/yamllint
|
||||||
command:
|
command:
|
||||||
- export YML_FILES="$(find ansible/ -name '*.yml' -not -name '*vault*')"
|
- export YML_FILES="$(find $PWD/ansible/ -name '*.yml' -not -name '*vault*')"
|
||||||
- . .lint-vars.sh
|
- source "$PWD/.lint-vars.sh"
|
||||||
- ansible-lint -x "$ANSIBLE_LINT_SKIP_LIST" "$YML_FILES"
|
- ansible-lint -x "$ANSIBLE_LINT_SKIP_LIST" "$YML_FILES"
|
||||||
- yamllint "$YML_FILES"
|
- yamllint "$YML_FILES"
|
||||||
|
|||||||
Reference in New Issue
Block a user