drone -> woodpecker
This commit is contained in:
parent
8f5521a129
commit
351946d314
2 changed files with 24 additions and 2 deletions
|
@ -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
21
.woodpecker/lint.yml
Normal 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
|
Loading…
Reference in a new issue