2019-04-26 02:20:37 -07:00
|
|
|
go:
|
|
|
|
# Whenever the Go version is updated here, .travis.yml and
|
|
|
|
# .circle/config.yml should also be updated.
|
|
|
|
version: 1.12
|
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
|
2018-11-30 05:01:20 -08:00
|
|
|
flags: -mod=vendor -a -tags 'netgo 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:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/386
|
|
|
|
- linux/arm
|
|
|
|
- linux/arm64
|
2018-08-13 08:26:55 -07:00
|
|
|
- linux/mips
|
|
|
|
- linux/mipsle
|
|
|
|
- linux/mips64
|
|
|
|
- linux/mips64le
|
2018-09-30 04:45:47 -07:00
|
|
|
- linux/ppc64
|
2018-08-13 08:26:55 -07:00
|
|
|
- linux/ppc64le
|
2018-09-30 07:45:32 -07:00
|
|
|
- linux/s390x
|