diff options
author | Ben Kochie <superq@gmail.com> | 2018-10-20 08:21:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 08:21:51 +0200 |
commit | 751996761903af4cffe18cf2d980b8ae9a202204 (patch) | |
tree | 4dd350cdc33c20da577f032fa0828725363c9d8c /.promu.yml | |
parent | 0da9d248e785dfc5a1bef00277f0f30d36a4de28 (diff) | |
download | prometheus_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.yml | 29 |
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 @@ | |||
1 | repository: | ||
2 | path: github.com/prometheus/node_exporter | ||
3 | build: | ||
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"}} | ||
13 | tarball: | ||
14 | files: | ||
15 | - LICENSE | ||
16 | - NOTICE | ||
17 | crossbuild: | ||
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 | ||