-
Notifications
You must be signed in to change notification settings - Fork 27
/
.goreleaser.yml
272 lines (272 loc) · 7.81 KB
/
.goreleaser.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# $schema: https://goreleaser.com/static/schema.json
archives:
- id: bin
format: binary
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- id: "ti-community-lgtm"
binary: ticommunitylgtm
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitylgtm
env:
- CGO_ENABLED=0
- id: "ti-community-merge"
binary: ticommunitymerge
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitymerge
env:
- CGO_ENABLED=0
- id: "ti-community-owners"
binary: ticommunityowners
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunityowners
env:
- CGO_ENABLED=0
- id: "ti-community-label"
binary: ticommunitylabel
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitylabel
env:
- CGO_ENABLED=0
- id: "ti-community-tars"
binary: ticommunitytars
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitytars
env:
- CGO_ENABLED=0
- id: "ti-community-autoresponder"
binary: ticommunityautoresponder
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunityautoresponder
env:
- CGO_ENABLED=0
- id: "ti-community-blunderbuss"
binary: ticommunityblunderbuss
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunityblunderbuss
env:
- CGO_ENABLED=0
- id: "ti-community-label-blocker"
binary: ticommunitylabelblocker
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitylabelblocker
env:
- CGO_ENABLED=0
- id: "ti-community-contribution"
binary: ticommunitycontribution
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitycontribution
env:
- CGO_ENABLED=0
- id: "ti-community-cherrypicker"
binary: ticommunitycherrypicker
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunitycherrypicker
env:
- CGO_ENABLED=0
- id: "check-external-plugin-config"
binary: check-external-plugin-config
goos:
- linux
goarch:
- amd64
main: ./cmd/check-external-plugin-config
env:
- CGO_ENABLED=0
- id: "rerere"
binary: rerere
goos:
- linux
goarch:
- amd64
main: ./cmd/rerere
env:
- CGO_ENABLED=0
- id: "ti-community-format-checker"
binary: ticommunityformatchecker
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunityformatchecker
env:
- CGO_ENABLED=0
- id: "ti-community-issue-triage"
binary: ticommunityissuetriage
goos:
- linux
goarch:
- amd64
main: ./cmd/ticommunityissuetriage
env:
- CGO_ENABLED=0
source:
enabled: true
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- "^config:"
release:
github:
prerelease: auto
dockers:
- id: tichi-lgtm-plugin
ids:
- ti-community-lgtm
image_templates:
- "ticommunityinfra/tichi-lgtm-plugin:latest"
- "ticommunityinfra/tichi-lgtm-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-lgtm-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/lgtm/Dockerfile
- id: tichi-merge-plugin
ids:
- ti-community-merge
image_templates:
- "ticommunityinfra/tichi-merge-plugin:latest"
- "ticommunityinfra/tichi-merge-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-merge-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/merge/Dockerfile
- id: tichi-owners-plugin
ids:
- ti-community-owners
image_templates:
- "ticommunityinfra/tichi-owners-plugin:latest"
- "ticommunityinfra/tichi-owners-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-owners-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/owners/Dockerfile
- id: tichi-label-plugin
ids:
- ti-community-label
image_templates:
- "ticommunityinfra/tichi-label-plugin:latest"
- "ticommunityinfra/tichi-label-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-label-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/label/Dockerfile
- id: tichi-tars-plugin
ids:
- ti-community-tars
image_templates:
- "ticommunityinfra/tichi-tars-plugin:latest"
- "ticommunityinfra/tichi-tars-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-tars-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/tars/Dockerfile
- id: tichi-autoresponder-plugin
ids:
- ti-community-autoresponder
image_templates:
- "ticommunityinfra/tichi-autoresponder-plugin:latest"
- "ticommunityinfra/tichi-autoresponder-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-autoresponder-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/autoresponder/Dockerfile
- id: tichi-blunderbuss-plugin
ids:
- ti-community-blunderbuss
image_templates:
- "ticommunityinfra/tichi-blunderbuss-plugin:latest"
- "ticommunityinfra/tichi-blunderbuss-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-blunderbuss-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/blunderbuss/Dockerfile
- id: tichi-label-blocker-plugin
ids:
- ti-community-label-blocker
image_templates:
- "ticommunityinfra/tichi-label-blocker-plugin:latest"
- "ticommunityinfra/tichi-label-blocker-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-label-blocker-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/labelblocker/Dockerfile
- id: tichi-contribution-plugin
ids:
- ti-community-contribution
image_templates:
- "ticommunityinfra/tichi-contribution-plugin:latest"
- "ticommunityinfra/tichi-contribution-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-contribution-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/contribution/Dockerfile
- id: tichi-cherrypicker-plugin
ids:
- ti-community-cherrypicker
image_templates:
- "ticommunityinfra/tichi-cherrypicker-plugin:latest"
- "ticommunityinfra/tichi-cherrypicker-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-cherrypicker-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/cherrypicker/Dockerfile
- image_templates:
- "ticommunityinfra/tichi-web:latest"
- "ticommunityinfra/tichi-web:{{ .Tag }}"
- "ticommunityinfra/tichi-web:{{ .Major }}"
dockerfile: ./deployments/web/Dockerfile
extra_files:
- web/
- id: tichi-check-external-plugin-config
ids:
- check-external-plugin-config
image_templates:
- "ticommunityinfra/tichi-check-external-plugin-config:latest"
- "ticommunityinfra/tichi-check-external-plugin-config:{{ .Tag }}"
- "ticommunityinfra/tichi-check-external-plugin-config:{{ .Major }}"
dockerfile: ./deployments/utils/check-external-plugin-config/Dockerfile
- id: rerere-component
ids:
- rerere
image_templates:
- "ticommunityinfra/rerere-component:latest"
- "ticommunityinfra/rerere-component:{{ .Tag }}"
- "ticommunityinfra/rerere-component:{{ .Major }}"
dockerfile: ./deployments/components/rerere/Dockerfile
- id: tichi-format-checker-plugin
ids:
- ti-community-format-checker
image_templates:
- "ticommunityinfra/tichi-format-checker-plugin:latest"
- "ticommunityinfra/tichi-format-checker-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-format-checker-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/formatchecker/Dockerfile
- id: tichi-issue-triage-plugin
ids:
- ti-community-issue-triage
image_templates:
- "ticommunityinfra/tichi-issue-triage-plugin:latest"
- "ticommunityinfra/tichi-issue-triage-plugin:{{ .Tag }}"
- "ticommunityinfra/tichi-issue-triage-plugin:{{ .Major }}"
dockerfile: ./deployments/plugins/issuetriage/Dockerfile