ansible/.drone.yml

21 lines
456 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: check
steps:
- name: yamllint
image: python:3.9-alpine
commands:
2021-02-16 03:47:39 +01:00
- pip install "yamllint>=1.26.0,<2.0"
- yamllint -c .yamllint.yml .
- name: ansible-lint
image: python:3.9-alpine
commands:
- apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
- pip install "ansible-lint==5.0.0"
2021-02-16 03:47:39 +01:00
- pip install "ansible-base>=2.10,<2.11"
- ansible-lint
...