ansible-role-bind9/.drone.yml
CSRBot 6ad64234da
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.40.0
2024-05-22 19:01:00 +00:00

54 lines
938 B
YAML

---
kind: pipeline
type: kubernetes
name: linter
node_selector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.40.0
resources:
limits:
cpu: 50
memory: 50M
- name: ansible lint
commands:
- ansible-lint .
image: docker.io/volkerraschek/ansible-archlinux:latest
pull: always
resources:
limits:
cpu: 250
memory: 250M
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag