2016-09-08 23:33:09 -07:00
|
|
|
go:
|
|
|
|
cgo: true
|
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
|
2016-04-30 10:14:29 -07:00
|
|
|
flags: -a -tags 'netgo static_build'
|
2016-01-24 14:38:06 -08:00
|
|
|
ldflags: |
|
2016-04-30 10:58:17 -07:00
|
|
|
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
|
|
|
|
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
|
|
|
|
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
|
|
|
|
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
|
|
|
-X {{repoPath}}/vendor/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:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/386
|
|
|
|
- darwin/amd64
|
|
|
|
- darwin/386
|
|
|
|
- netbsd/amd64
|
|
|
|
- netbsd/386
|
|
|
|
- linux/arm
|
|
|
|
- linux/arm64
|
2016-11-16 05:27:50 -08:00
|
|
|
# Temporarily deactivated as this does not currently build with promu.
|
|
|
|
#- linux/mips64
|
|
|
|
#- linux/mips64le
|