aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorSteve Durrheimer <s.durrheimer@gmail.com>2016-04-30 19:14:29 +0200
committerSteve Durrheimer <s.durrheimer@gmail.com>2016-05-04 11:01:09 +0200
commit3176a9102c90b2538d54cdc44070ac796c0c5233 (patch)
treecd4c69ae1f755151e400ec140a894d6e987e547b /.promu.yml
parentd890b63fb5ebf6144766cd43bf29f0a0e6192491 (diff)
downloadprometheus_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.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.promu.yml b/.promu.yml
index aa65811..4f03be9 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -1,7 +1,8 @@
1go: 1.5.4 1go: 1.6.2
2repository: 2repository:
3 path: github.com/prometheus/node_exporter 3 path: github.com/prometheus/node_exporter
4build: 4build:
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