|
---
|
|
image: python:3.9-alpine
|
|
|
|
stages:
|
|
- lint
|
|
|
|
yamllint:
|
|
stage: lint
|
|
script:
|
|
- pip install yamllint==1.25.0
|
|
- yamllint -c .yamllint.yml .
|
|
|
|
ansible-lint:
|
|
stage: lint
|
|
script:
|
|
- apk add gcc libc-dev libffi-dev openssl-dev
|
|
- pip install ansible-lint==4.3.7
|
|
- ansible-lint *.yml
|
|
...
|