paulbsd-salt/.drone.yml

16 lines
302 B
YAML
Raw Normal View History

2022-06-08 23:48:48 +02:00
---
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'