2019-04-26 02:20:37 -07:00
|
|
|
go:
|
2020-05-03 12:48:28 -07:00
|
|
|
# Whenever the Go version is updated here, .circle/config.yml and
|
|
|
|
# .promu-cgo.yml should also be updated.
|
2023-09-09 06:44:48 -07:00
|
|
|
version: 1.21
|
2016-01-24 14:38:06 -08:00
|
|
|
repository:
|
|
|
|
path: github.com/prometheus/node_exporter
|
|
|
|
build:
|
2017-08-22 08:24:07 -07:00
|
|
|
binaries:
|
|
|
|
- name: node_exporter
|
2021-01-22 14:53:56 -08:00
|
|
|
flags: -a -tags 'netgo osusergo static_build'
|
2016-01-24 14:38:06 -08:00
|
|
|
ldflags: |
|
2018-11-30 05:01:20 -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"}}
|
2016-01-24 14:38:06 -08:00
|
|
|
tarball:
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- NOTICE
|
|
|
|
crossbuild:
|
|
|
|
platforms:
|
2021-03-18 03:42:29 -07:00
|
|
|
- linux
|
2020-07-02 05:43:14 -07:00
|
|
|
- openbsd/amd64
|