forked from odigos-io/odigos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
61 lines (61 loc) · 1.85 KB
/
.goreleaser.yaml
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
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
binary: odigos-otelcol
dir: odigosotelcol
ldflags:
- -s
- -w
flags:
- -trimpath
nfpms:
- id: packages # this id is used in the publisher section to specify which artifacts to publish
package_name: odigos-otelcol
contents:
- src: distribution/odigos-otelcol/odigos-otelcol.service
dst: /lib/systemd/system/odigos-otelcol.service
- src: distribution/odigos-otelcol/odigos-otelcol.conf
dst: /etc/odigos-otelcol/odigos-otelcol.conf
type: config|noreplace
- src: distribution/odigos-otelcol/config.yaml
dst: /etc/odigos-otelcol/config.yaml
type: config|noreplace
scripts:
preinstall: distribution/odigos-otelcol/preinstall.sh
postinstall: distribution/odigos-otelcol/postinstall.sh
preremove: distribution/odigos-otelcol/preremove.sh
vendor: Keyval Inc.
homepage: https://odigos.io
formats:
- deb
- rpm
description: Instant distributed tracing without code changes using eBPF
file_name_template: "{{ .ConventionalFileName }}"
maintainer: Keyval Inc.
publishers:
- name: fury deb publisher
ids: # publish only the artifacts created in the nfpms section. e.g. ignore the tar.gz archive
- packages
cmd: fury push {{ .ArtifactName }} --account {{ .Env.FURY_ACCOUNT }} --api-token {{ .Env.FURY_API_TOKEN }} --public --quiet
dir: dist
# archives:
# builds:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# we don't need the otelcol to have releases in github.
# this goreleaser is only about publishing the collector as deb/rpm package to the fury repository
release:
disable: true