-
Notifications
You must be signed in to change notification settings - Fork 522
/
.goreleaser.yml
145 lines (145 loc) · 3.16 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
archives:
- id: default
builds:
- tempo
- tempo-query
- tempo-cli
builds:
- id: "tempo"
main: ./cmd/tempo
binary: tempo
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
- arm
ignore:
- goarch: arm
goos: darwin
- goarch: arm
goos: windows
- goarch: arm64
goos: windows
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
- id: "tempo-query"
main: ./cmd/tempo-query
binary: tempo-query
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
- arm
ignore:
- goarch: arm
goos: darwin
- goarch: arm
goos: windows
- goarch: arm64
goos: windows
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
- id: "tempo-cli"
main: ./cmd/tempo-cli
binary: tempo-cli
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
- arm
ignore:
- goarch: arm
goos: darwin
- goarch: arm
goos: windows
- goarch: arm64
goos: windows
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
changelog:
skip: true
sort: asc
filters:
exclude:
- '^.github:'
- '^example:'
- '^integration:'
- '^vendor:'
checksum:
name_template: SHA256SUMS
release:
draft: true
prerelease: auto
snapshot:
name_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
# RPM (yum) and deb (apt) packages
nfpms:
- builds:
- tempo
- tempo-cli
- tempo-query
vendor: Grafana Labs Inc
homepage: https://grafana.com/oss/tempo/
maintainer: Grafana Labs <[email protected]>
description: |-
Grafana Tempo is an open source, easy-to-use, and high-scale distributed tracing backend.
Tempo is cost-efficient, requiring only object storage to operate, and is deeply integrated with Grafana, Prometheus, and Loki.
license: AGPL-3.0
formats:
- deb
- rpm
contents:
- src: ./example/docker-compose/shared/tempo.yaml
dst: /etc/tempo/config.yml
type: 'config|noreplace'
- src: ./tools/packaging/tempo.service
dst: /etc/systemd/system/tempo.service
scripts:
postinstall: ./tools/packaging/tempo-postinstall.sh
rpm:
signature:
# Also set ${NFPM_DEFAULT_PASSPHRASE}
key_file: '{{ .Env.NFPM_SIGNING_KEY_FILE }}'
deb:
signature:
# Also set ${NFPM_DEFAULT_PASSPHRASE}
key_file: '{{ .Env.NFPM_SIGNING_KEY_FILE }}'