-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
73 lines (64 loc) · 1003 Bytes
/
Copy path.drone.yml
File metadata and controls
73 lines (64 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
kind: pipeline
name: lint
clone:
git:
image: plugins/git
tags: true
steps:
- name: lint
image: renaudhager/go-ci:0.1.4
commands:
- make deps
- make lint
---
kind: pipeline
name: test
clone:
git:
image: plugins/git
tags: true
steps:
- name: test
image: renaudhager/go-ci:0.1.4
commands:
- make deps
- make test
- /usr/local/bin/codecov.bash
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
---
kind: pipeline
name: release
clone:
git:
image: plugins/git
tags: true
steps:
- name: build
image: renaudhager/go-ci:0.1.4
commands:
- make deps
- make build
- name: create release
image: renaudhager/go-ci:0.1.4
commands:
- make release
environment:
GITHUB_USER: "renaudhager"
GITHUB_TOKEN:
from_secret: GITHUB_TOKEN
depends_on:
- lint
- test
when:
branch:
- master
trigger:
event:
- tag
---
kind: signature
hmac: 06e61db79a5d306c5d2234fe76bbe8a86b7d2753d664d80b57554269018dc9ec
...