2020-11-04 20:15:24 +01:00
|
|
|
---
|
|
|
|
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"
|
2020-11-04 20:15:24 +01:00
|
|
|
- yamllint -c .yamllint.yml .
|
|
|
|
|
|
|
|
- name: ansible-lint
|
|
|
|
image: python:3.9-alpine
|
|
|
|
commands:
|
2021-02-16 03:32:33 +01:00
|
|
|
- apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
|
2021-02-16 03:47:39 +01:00
|
|
|
- pip install "ansible-lint==5.0.0"
|
|
|
|
- pip install "ansible-base>=2.10,<2.11"
|
2021-02-07 17:32:02 +01:00
|
|
|
- ansible-lint
|
2020-11-04 20:15:24 +01:00
|
|
|
...
|