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