vp-build/.drone.yml

38 lines
668 B
YAML
Raw Normal View History

2021-04-09 14:24:51 +02:00
kind: pipeline
name: always
clone:
depth: 10
volumes:
- name: dronecache
host:
path: /home/xo/dronecache
steps:
- name: build
2021-04-15 09:41:39 +02:00
image: ghcr.io/void-linux/void-linux:20210312rc01-full-x86_64
2021-04-09 14:24:51 +02:00
pull: always
privileged: true
commands:
- 'sh /files/bin/init.sh'
- 'bash /files/bin/autobuild.sh'
- 'bash /files/bin/cleanup.sh'
2021-04-09 14:24:51 +02:00
volumes:
- name: dronecache
path: /files
- name: notify
image: drillster/drone-email
pull: always
when:
status: [ success, changed, failure ]
settings:
host: mail.tzend.de
from: drone@tzend.de
username:
from_secret: email_username
password:
from_secret: email_password
2021-04-15 09:41:39 +02:00