paulbsd-salt/.drone.yml

15 lines
291 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
- >
2022-06-10 00:15:38 +02:00
'find states -type f -name "*.sls" -print0 | xargs -0 --no-run-if-empty salt-lint'