mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 04:20:46 +01:00
30 lines
700 B
YAML
30 lines
700 B
YAML
go: 1.6.2
|
|
repository:
|
|
path: github.com/prometheus/node_exporter
|
|
build:
|
|
flags: -a -tags 'netgo static_build'
|
|
ldflags: |
|
|
-X main.Version={{.Version}}
|
|
-X {{repoPath}}/collector.Version={{.Version}}
|
|
-X {{repoPath}}/collector.Revision={{.Revision}}
|
|
-X {{repoPath}}/collector.Branch={{.Branch}}
|
|
tarball:
|
|
files:
|
|
- LICENSE
|
|
- NOTICE
|
|
crossbuild:
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/386
|
|
- darwin/amd64
|
|
- darwin/386
|
|
- windows/amd64
|
|
- windows/386
|
|
- netbsd/amd64
|
|
- netbsd/386
|
|
- linux/arm
|
|
- linux/arm64
|
|
- netbsd/arm
|
|
- linux/ppc64
|
|
- linux/ppc64le
|