fix CI (#535)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: #535
This commit is contained in:
parent
5846456da4
commit
aae4436f46
3 changed files with 30 additions and 20 deletions
|
@ -1,14 +0,0 @@
|
|||
exclude_paths:
|
||||
- roles/riemers.gitlab-runner/
|
||||
|
||||
parseable: true
|
||||
quiet: true
|
||||
skip_list:
|
||||
- '204'
|
||||
- '701'
|
||||
- '208'
|
||||
- '106'
|
||||
- '306'
|
||||
use_default_rules: true
|
||||
verbosity: 0
|
||||
# https://github.com/ansible/ansible-lint#false-positives-skipping-rules
|
33
.drone.yml
33
.drone.yml
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: gitleaks
|
||||
|
||||
steps:
|
||||
- name: gitleaks
|
||||
|
@ -13,13 +13,34 @@ steps:
|
|||
exclude:
|
||||
- tag
|
||||
|
||||
- name: lint
|
||||
image: pipelinecomponents/ansible-lint
|
||||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: ansible-lint
|
||||
steps:
|
||||
- name: ansible-lint
|
||||
image: cytopia/ansible-lint
|
||||
commands:
|
||||
- ansible-lint --show-relpath -v --offline .
|
||||
- /usr/bin/ansible-lint *.*
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
depends_on:
|
||||
- gitleaks
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: yaml-lint
|
||||
steps:
|
||||
- name: yamllint
|
||||
image: cytopia/yamllint:1
|
||||
commands:
|
||||
- /usr/bin/yamllint -f colored .
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
depends_on:
|
||||
- gitleaks
|
||||
|
|
3
.yamllint
Normal file
3
.yamllint
Normal file
|
@ -0,0 +1,3 @@
|
|||
ignore:
|
||||
- ./roles/pandemonium1986.ansible-role-k9s
|
||||
- ./roles/robertdebock.bootstrap
|
Loading…
Reference in a new issue