diff options
author | Steve Durrheimer <s.durrheimer@gmail.com> | 2016-04-30 19:14:29 +0200 |
---|---|---|
committer | Steve Durrheimer <s.durrheimer@gmail.com> | 2016-05-04 11:01:09 +0200 |
commit | 3176a9102c90b2538d54cdc44070ac796c0c5233 (patch) | |
tree | cd4c69ae1f755151e400ec140a894d6e987e547b /.promu.yml | |
parent | d890b63fb5ebf6144766cd43bf29f0a0e6192491 (diff) | |
download | prometheus_node_collector-3176a9102c90b2538d54cdc44070ac796c0c5233.tar.bz2 prometheus_node_collector-3176a9102c90b2538d54cdc44070ac796c0c5233.tar.xz prometheus_node_collector-3176a9102c90b2538d54cdc44070ac796c0c5233.zip |
Make node_exporter statically buildable for linux/amd64
Diffstat (limited to '.promu.yml')
-rw-r--r-- | .promu.yml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,8 @@ | |||
1 | go: 1.5.4 | 1 | go: 1.6.2 |
2 | repository: | 2 | repository: |
3 | path: github.com/prometheus/node_exporter | 3 | path: github.com/prometheus/node_exporter |
4 | build: | 4 | build: |
5 | flags: -a -tags 'netgo static_build' | ||
5 | ldflags: | | 6 | ldflags: | |
6 | -X main.Version={{.Version}} | 7 | -X main.Version={{.Version}} |
7 | -X {{repoPath}}/collector.Version={{.Version}} | 8 | -X {{repoPath}}/collector.Version={{.Version}} |
@@ -24,4 +25,5 @@ crossbuild: | |||
24 | - linux/arm | 25 | - linux/arm |
25 | - linux/arm64 | 26 | - linux/arm64 |
26 | - netbsd/arm | 27 | - netbsd/arm |
28 | - linux/ppc64 | ||
27 | - linux/ppc64le | 29 | - linux/ppc64le |