18 lines
627 B
YAML
18 lines
627 B
YAML
---
|
|
pipeline:
|
|
shellcheck:
|
|
image: pipelinecomponents/shellcheck
|
|
group: lint
|
|
commands:
|
|
- find . -name .git -type d -prune -o -type f -name \*.sh -print0 | xargs -0 -r -t -n1 shellcheck
|
|
awk-lint:
|
|
image: registry.access.redhat.com/ubi9
|
|
group: lint
|
|
commands:
|
|
- find . -name .git -type d -prune -o -type f -name \*.awk -print0 | xargs -0 -r -t -n1 gawk --lint=no-ext -f
|
|
hadolint:
|
|
image: pipelinecomponents/hadolint
|
|
group: lint
|
|
commands:
|
|
- find . -name .git -type d -prune -o -type f \( -name Dockerfile\* -or -name Containerfile\* \) -print0 | xargs -0 -r -t -n1 hadolint
|