2022-02-21 21:08:10 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: linter
|
|
|
|
|
2023-02-08 17:40:49 +00:00
|
|
|
node_selector:
|
|
|
|
kubernetes.io/arch: amd64
|
|
|
|
kubernetes.io/os: linux
|
2022-02-21 21:08:10 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: markdown lint
|
|
|
|
commands:
|
|
|
|
- markdownlint *.md
|
2023-06-17 21:00:48 +00:00
|
|
|
image: docker.io/volkerraschek/markdownlint:0.35.0
|
2022-02-21 21:08:10 +00:00
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 50
|
|
|
|
memory: 50M
|
|
|
|
|
2023-02-08 17:36:44 +00:00
|
|
|
- name: ansible lint
|
|
|
|
commands:
|
2023-02-08 17:40:49 +00:00
|
|
|
- ansible-lint .
|
|
|
|
image: docker.io/volkerraschek/ansible-archlinux:latest
|
2023-02-08 19:47:09 +00:00
|
|
|
pull: always
|
2023-02-08 17:36:44 +00:00
|
|
|
resources:
|
|
|
|
limits:
|
2023-02-08 17:40:49 +00:00
|
|
|
cpu: 250
|
|
|
|
memory: 250M
|
2023-02-08 17:36:44 +00:00
|
|
|
|
2022-02-21 21:08:10 +00:00
|
|
|
- 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
|