2016-09-09 08:33:09 +02:00
|
|
|
go:
|
|
|
|
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
|
2016-04-30 19:14:29 +02:00
|
|
|
flags: -a -tags 'netgo static_build'
|
2016-01-24 23:38:06 +01:00
|
|
|
ldflags: |
|
2016-04-30 19:58:17 +02: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 23:38:06 +01:00
|
|
|
tarball:
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- NOTICE
|
|
|
|
crossbuild:
|
|
|
|
platforms:
|
|
|
|
- darwin/amd64
|
|
|
|
- darwin/386
|
|
|
|
- netbsd/amd64
|
|
|
|
- netbsd/386
|