muldap/.drone.yml

36 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2018-11-29 17:59:46 -05:00
kind: pipeline
name: default
2019-07-22 15:48:19 -04:00
steps:
2018-11-29 17:59:46 -05:00
- name: build
2019-07-22 15:48:19 -04:00
image: golang:1.12
2018-11-29 17:59:46 -05:00
commands:
- go mod vendor
2018-11-29 17:59:46 -05:00
- go build
2019-07-22 15:48:19 -04:00
- name: notification
image: drillster/drone-email
settings:
host: smtp.int.metaunix.net
skip_verify: true
subject: '[{{ repo.fullName }}] build #{{ build.number }} - {{ build.status }}'
body: >
2019-07-22 16:20:02 -04:00
<b>Build {{ build.number }}</b> submitted by {{ commit.author.name }} (<a href="mailto:{{ commit.author.email }}">{{ commit.author.email }}</a>)<br /><br />
2019-07-22 15:48:19 -04:00
<h3>Commit Info:</h3>
Commit message: {{ commit.message }}<br />
Commit branch: {{ commit.branch }}<br />
Commit link: <a href="{{ commit.link }}">{{ commit.link }}</a><br /><br />
<h3>Build Info:</h3>
Build number: {{ build.number }}<br />
Build status: {{ build.status }}<br />
Build event: {{ build.event }}<br />
Build started at: {{ build.started }}<br />
Build finished at: {{ build.finished }}<br />
Build link: <a href="{{ build.link }}">{{ build.link }}</a>
from: drone@drone.metaunix.net
when:
status: [ success, changed, failure ]
2019-07-22 16:20:02 -04:00