aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-10-20 08:21:51 +0200
committerGitHub <noreply@github.com>2018-10-20 08:21:51 +0200
commit751996761903af4cffe18cf2d980b8ae9a202204 (patch)
tree4dd350cdc33c20da577f032fa0828725363c9d8c /.promu.yml
parent0da9d248e785dfc5a1bef00277f0f30d36a4de28 (diff)
downloadprometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.tar.bz2
prometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.tar.xz
prometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.zip
Fix promu config (#1119)v0.17.0-rc.0
Rename promu no-cgo config to default promu name to avoid crossbuild problems. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to '.promu.yml')
-rw-r--r--.promu.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.promu.yml b/.promu.yml
new file mode 100644
index 0000000..b329ed3
--- /dev/null
+++ b/.promu.yml
@@ -0,0 +1,29 @@
1repository:
2 path: github.com/prometheus/node_exporter
3build:
4 binaries:
5 - name: node_exporter
6 flags: -a -tags 'netgo static_build'
7 ldflags: |
8 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
9 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
10 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
11 -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
12 -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
13tarball:
14 files:
15 - LICENSE
16 - NOTICE
17crossbuild:
18 platforms:
19 - linux/amd64
20 - linux/386
21 - linux/arm
22 - linux/arm64
23 - linux/mips
24 - linux/mipsle
25 - linux/mips64
26 - linux/mips64le
27 - linux/ppc64
28 - linux/ppc64le
29 - linux/s390x