paulbsd-salt/.drone.yml

24 lines
461 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:39:52 +02:00
- salt-lint -x 207,208,210 states/*/*.sls
2024-02-20 21:17:48 +01:00
- name: Deploy
image: drillster/drone-rsync
settings:
hosts:
- sys99.paulbsd.com
source: ./states/
target: /srv/salt/states
2024-02-20 22:18:50 +01:00
user: salt
2024-02-20 21:17:48 +01:00
key:
from_secret: drone_ssh_key