File tree Expand file tree Collapse file tree 4 files changed +20
-83
lines changed Expand file tree Collapse file tree 4 files changed +20
-83
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,25 @@ docker_manifests:
142
142
- grafana/{{ .ProjectName }}:latest-arm64v8
143
143
- grafana/{{ .ProjectName }}:latest-armv6
144
144
- grafana/{{ .ProjectName }}:latest-armv7
145
+ nfpms :
146
+ - id : pyroscope
147
+ formats :
148
+ - deb
149
+ - rpm
150
+ section : default
151
+ maintainer :
Grafana Labs <[email protected] >
152
+ vendor : Grafana Labs Inc
153
+ homepage : https://grafana.com/pyroscope
154
+ license : AGPL-3.0
155
+ contents :
156
+ - src : ./tools/packaging/pyroscope.service
157
+ dst : /etc/systemd/system/pyroscope.service
158
+ - src : ./cmd/pyroscope/pyroscope.yaml
159
+ dst : /etc/pyroscope/config.yml
160
+ type : config|noreplace
161
+ scripts :
162
+ postinstall : ./tools/packaging/postinstall.sh
163
+
145
164
archives :
146
165
- id : pyroscope
147
166
builds :
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ $(BIN)/updater: Makefile
312
312
313
313
$(BIN ) /goreleaser: Makefile go.mod
314
314
@mkdir -p $(@D )
315
- GOBIN=$(abspath $(@D ) ) $(GO ) install github.com/goreleaser/goreleaser@v1.14.1
315
+ GOBIN=$(abspath $(@D ) ) $(GO ) install github.com/goreleaser/goreleaser@v1.20.0
316
316
317
317
$(BIN ) /gotestsum: Makefile go.mod
318
318
@mkdir -p $(@D )
@@ -421,6 +421,3 @@ docs/%:
421
421
.PHONY: run
422
422
run: # # Run the pyroscope binary (pass parameters with 'make run PARAMS=-myparam')
423
423
./pyroscope $(PARAMS )
424
-
425
- packages: build
426
- @tools/packaging/nfpm.sh
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments