docker-pre-commit/.drone.yml

31 lines
635 B
YAML
Raw Normal View History

2020-01-27 22:17:55 +00:00
---
kind: pipeline
name: test
workspace:
base: "/app"
path: "."
steps:
- name: test
image: python:3-slim
2020-01-27 22:17:55 +00:00
commands:
- apt-get update
2020-01-31 00:31:00 +00:00
- apt-get install -y --no-install-recommends make shellcheck
2020-01-27 22:17:55 +00:00
- pip install docker-compose
- make all
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: SMTP_HOST # pragma: whitelist secret
username:
from_secret: SMTP_USER # pragma: whitelist secret
password:
from_secret: SMTP_PASS # pragma: whitelist secret
from: drone@iamthefij.com
when:
status: [changed, failure]