15 lines
291 B
YAML
15 lines
291 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Salt lint
|
|
image: python
|
|
commands:
|
|
- apt-get update -y
|
|
- apt-get upgrade -y
|
|
- pip3 install salt-lint
|
|
- >
|
|
'find states -type f -name "*.sls" -print0 | xargs -0 --no-run-if-empty salt-lint'
|