2016-09-09 06:33:09 +00:00
|
|
|
go:
|
2020-05-03 19:48:28 +00:00
|
|
|
# Whenever the Go version is updated here, .circle/config.yml and
|
|
|
|
# .promu.yml should also be updated.
|
2020-09-23 19:06:58 +00:00
|
|
|
version: 1.15
|
2016-09-09 06:33:09 +00:00
|
|
|
cgo: true
|
2016-01-24 22:38:06 +00:00
|
|
|
repository:
|
|
|
|
path: github.com/prometheus/node_exporter
|
|
|
|
build:
|
2017-08-22 15:24:07 +00:00
|
|
|
binaries:
|
|
|
|
- name: node_exporter
|
2021-01-23 14:06:33 +00:00
|
|
|
flags: -a -tags 'netgo osusergo static_build'
|
2016-01-24 22:38:06 +00:00
|
|
|
ldflags: |
|
2018-11-30 13:01:20 +00: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 22:38:06 +00:00
|
|
|
tarball:
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- NOTICE
|
|
|
|
crossbuild:
|
|
|
|
platforms:
|
2019-12-29 10:38:01 +00:00
|
|
|
- aix/ppc64
|
2016-01-24 22:38:06 +00:00
|
|
|
- darwin/amd64
|
|
|
|
- netbsd/amd64
|
|
|
|
- netbsd/386
|