* Bring back the deb/rpm release * Remove testing * Remove formatting * Spacing * remove verify funs * Remove unused code
140 lines
3.1 KiB
YAML
140 lines
3.1 KiB
YAML
archives:
|
|
- id: default
|
|
builds:
|
|
- tempo
|
|
- tempo-query
|
|
- tempo-cli
|
|
builds:
|
|
- id: "tempo"
|
|
main: ./cmd/tempo
|
|
binary: tempo
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
# - darwin re-enable when https://github.com/golang/go/issues/73617 is fixed
|
|
- 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 re-enable when https://github.com/golang/go/issues/73617 is fixed
|
|
- 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 re-enable when https://github.com/golang/go/issues/73617 is fixed
|
|
- 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 <support@grafana.com>
|
|
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: ./tools/packaging/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: {}
|
|
deb: {}
|