muldap/.drone.yml

39 lines
1.2 KiB
YAML

kind: pipeline
name: default
steps:
- name: build
image: golang:1.12
workspace:
base: /go
path: src/git.metaunix.net/metaunix.net/muldap
commands:
- go get github.com/golang/dep/cmd/dep
- dep ensure
- go build
- name: notification
image: drillster/drone-email
settings:
host: smtp.int.metaunix.net
skip_verify: true
subject: '[{{ repo.fullName }}] build #{{ build.number }} - {{ build.status }}'
body: >
<b>Build {{ build.number }}</b> submitted by {{ commit.author.name }} (<a href="mailto:{{ commit.author.email }}">{{ commit.author.ema
<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 ]