mirror of
https://github.com/grafana/tempo.git
synced 2025-03-15 15:18:31 +00:00
146 lines
3.2 KiB
YAML
146 lines
3.2 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
|
|
- 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 <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: ./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 }}'
|