20 lines
451 B
YAML
20 lines
451 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: check
|
|
|
|
steps:
|
|
- name: yamllint
|
|
image: python:3.9-alpine
|
|
commands:
|
|
- 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"
|
|
- pip install "ansible>=2.10,<2.11"
|
|
- ansible-lint
|
|
...
|