Merge pull request 'Fix and update CI' (#18) from fix_and_update_ci into master
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: Aurore/ansible#18
This commit is contained in:
otthorn 2021-02-16 13:10:52 +01:00
commit 96be03ca22
3 changed files with 5 additions and 23 deletions

View file

@ -1,5 +1,5 @@
skip_list:
- '301'
- 'no-changed-when'
warn_list:
- experimental # all rules tagged as experimental

View file

@ -7,13 +7,14 @@ steps:
- name: yamllint
image: python:3.9-alpine
commands:
- pip install yamllint==1.25.0
- 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 libc-dev libffi-dev openssl-dev
- pip install ansible-lint==4.3.7
- 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
...

View file

@ -1,19 +0,0 @@
---
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
...