Fix and update CI #18

Merged
otthorn merged 8 commits from fix_and_update_ci into master 2021-02-16 13:10:53 +01:00
3 changed files with 5 additions and 23 deletions

View file

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

View file

@ -7,13 +7,14 @@ steps:
- name: yamllint - name: yamllint
image: python:3.9-alpine image: python:3.9-alpine
commands: commands:
- pip install yamllint==1.25.0 - pip install "yamllint>=1.26.0,<2.0"
- yamllint -c .yamllint.yml . - yamllint -c .yamllint.yml .
- name: ansible-lint - name: ansible-lint
image: python:3.9-alpine image: python:3.9-alpine
commands: commands:
- apk add --no-cache gcc libc-dev libffi-dev openssl-dev - apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
- pip install ansible-lint==4.3.7 - pip install "ansible-lint==5.0.0"
- pip install "ansible>=2.10,<2.11"
- ansible-lint - 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
...