forked from 0xProject/0x-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
108 lines (103 loc) · 1.94 KB
/
.drone.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
kind: pipeline
type: kubernetes
name: mesh
steps:
- name: mesh-autotag
image: plugins/docker
settings:
repo: 0xorg/mesh
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: dockerfiles/mesh/Dockerfile
node_selector:
drone-builds: true
---
kind: pipeline
type: kubernetes
name: mesh-bootstrap-autotag
steps:
- name: mesh-bootstrap-autotag
image: plugins/docker
settings:
repo: 0xorg/mesh-bootstrap
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: dockerfiles/mesh-bootstrap/Dockerfile
node_selector:
drone-builds: true
---
kind: pipeline
type: kubernetes
name: mesh-development
steps:
- name: mesh-dev
image: plugins/docker
settings:
repo: 0xorg/mesh
tags:
- development
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: dockerfiles/mesh/Dockerfile
trigger:
branch:
- development
event:
include:
- push
node_selector:
drone-builds: true
---
kind: pipeline
type: kubernetes
name: mesh-bootstrap-development
steps:
- name: mesh-bootstrap-dev
image: plugins/docker
settings:
repo: 0xorg/mesh-bootstrap
tags:
- development
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: dockerfiles/mesh-bootstrap/Dockerfile
trigger:
branch:
- development
event:
include:
- push
node_selector:
drone-builds: true
---
kind: pipeline
type: kubernetes
name: mesh-publish-release-notes
steps:
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_public_repo
files:
note: RELEASE_CHANGELOG.md
when:
event: tag
ref:
- refs/tags/v*
trigger:
event:
include:
- tag
node_selector:
drone-builds: true