homeserver/.drone.yml

48 lines
777 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: gitleaks
steps:
- name: gitleaks
image: plugins/gitleaks
settings:
path: .
when:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: ansible-lint
steps:
- name: ansible-lint
image: quay.io/ansible/creator-ee
commands:
- ansible-lint --version
- echo $ANSIBLE_VAULT_PASSWORD > ./vault-pass.yml
- ansible-lint
when:
event:
exclude:
- tag
environment:
ANSIBLE_VAULT_PASSWORD:
from_secret: vault-pass
---
kind: pipeline
type: docker
name: yaml-lint
steps:
- name: yamllint
image: cytopia/yamllint:1
commands:
- /usr/bin/yamllint -f colored .
when:
event:
exclude:
- tag