43 lines
692 B
YAML
43 lines
692 B
YAML
---
|
|
kind: pipeline
|
|
type: kubernetes
|
|
name: linter
|
|
|
|
platform:
|
|
os: linux
|
|
|
|
steps:
|
|
- name: markdown lint
|
|
commands:
|
|
- markdownlint *.md
|
|
image: docker.io/volkerraschek/markdownlint:0.38.0
|
|
resources:
|
|
limits:
|
|
cpu: 50
|
|
memory: 50M
|
|
|
|
- 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: docker.io/drillster/drone-email:latest
|
|
resources:
|
|
limits:
|
|
cpu: 50
|
|
memory: 25M
|
|
when:
|
|
status:
|
|
- changed
|
|
- failure
|
|
|
|
trigger:
|
|
event:
|
|
exclude:
|
|
- tag
|