drone -> woodpecker

This commit is contained in:
Michael Grote 2023-11-03 19:10:12 +01:00
parent 8f5521a129
commit 351946d314
2 changed files with 24 additions and 2 deletions

View file

@ -1,8 +1,9 @@
---
kind: pipeline
type: docker
name: linting
name: ansible-lint
depends_on:
- lint
steps:
- name: gitleaks
image: plugins/gitleaks

21
.woodpecker/lint.yml Normal file
View file

@ -0,0 +1,21 @@
---
kind: pipeline
type: docker
name: gitleaks
steps:
gitleaks:
image: zricethezav/gitleaks:latest
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
hadolint:
image: hadolint/hadolint:latest-debian
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag