2018-10-16 00:41:45 -07:00
|
|
|
go:
|
2019-11-25 05:59:26 -08:00
|
|
|
# Whenever the Go version is updated here,
|
2024-02-16 05:21:10 -08:00
|
|
|
# .github/workflows should also be updated.
|
2024-02-19 03:40:00 -08:00
|
|
|
version: 1.22
|
2015-12-21 09:09:38 -08:00
|
|
|
repository:
|
|
|
|
path: github.com/prometheus/prometheus
|
|
|
|
build:
|
|
|
|
binaries:
|
|
|
|
- name: prometheus
|
|
|
|
path: ./cmd/prometheus
|
|
|
|
- name: promtool
|
|
|
|
path: ./cmd/promtool
|
2022-12-09 10:02:05 -08:00
|
|
|
tags:
|
|
|
|
all:
|
|
|
|
- netgo
|
|
|
|
- builtinassets
|
2023-04-25 03:07:26 -07:00
|
|
|
- stringlabels
|
2022-12-09 10:02:05 -08:00
|
|
|
windows:
|
|
|
|
- builtinassets
|
2023-04-25 03:07:26 -07:00
|
|
|
- stringlabels
|
2015-12-21 09:09:38 -08:00
|
|
|
ldflags: |
|
2018-11-30 08:10:43 -08:00
|
|
|
-X github.com/prometheus/common/version.Version={{.Version}}
|
|
|
|
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
|
|
|
-X github.com/prometheus/common/version.Branch={{.Branch}}
|
|
|
|
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
|
|
|
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
2015-12-21 09:09:38 -08:00
|
|
|
tarball:
|
2022-04-08 04:47:59 -07:00
|
|
|
# Whenever there are new files to include in the tarball,
|
|
|
|
# remember to make sure the new files will be generated after `make build`.
|
2015-12-21 09:09:38 -08:00
|
|
|
files:
|
|
|
|
- consoles
|
|
|
|
- console_libraries
|
|
|
|
- documentation/examples/prometheus.yml
|
|
|
|
- LICENSE
|
|
|
|
- NOTICE
|
2019-10-17 05:38:09 -07:00
|
|
|
- npm_licenses.tar.bz2
|
2016-06-14 09:17:45 -07:00
|
|
|
crossbuild:
|
|
|
|
platforms:
|
2021-03-20 10:10:04 -07:00
|
|
|
- darwin
|
|
|
|
- dragonfly
|
|
|
|
- freebsd
|
|
|
|
- illumos
|
|
|
|
- linux
|
|
|
|
- netbsd
|
|
|
|
- windows
|