diff options
author | Ben Kochie <superq@gmail.com> | 2018-09-25 16:02:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 16:02:42 +0200 |
commit | c7dfb82dac2d599d9eb3012b55a067a89f37f5c7 (patch) | |
tree | 80b758bc183c0192da24c8a04e0692a4b8b82aa1 /.promu.yml | |
parent | 0fdc089187c3d5d9fe62e528653986ee6e71325b (diff) | |
download | prometheus_node_collector-c7dfb82dac2d599d9eb3012b55a067a89f37f5c7.tar.bz2 prometheus_node_collector-c7dfb82dac2d599d9eb3012b55a067a89f37f5c7.tar.xz prometheus_node_collector-c7dfb82dac2d599d9eb3012b55a067a89f37f5c7.zip |
Update build (#1081)
* Update build
* Only use CGO when building non-Linux.
* Update build to Go 1.11
* Use tab indenting consistently.
Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to '.promu.yml')
-rw-r--r-- | .promu.yml | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/.promu.yml b/.promu.yml deleted file mode 100644 index a607eaf..0000000 --- a/.promu.yml +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | go: | ||
2 | cgo: true | ||
3 | repository: | ||
4 | path: github.com/prometheus/node_exporter | ||
5 | build: | ||
6 | binaries: | ||
7 | - name: node_exporter | ||
8 | flags: -a -tags 'netgo static_build' | ||
9 | ldflags: | | ||
10 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} | ||
11 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} | ||
12 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} | ||
13 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} | ||
14 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} | ||
15 | tarball: | ||
16 | files: | ||
17 | - LICENSE | ||
18 | - NOTICE | ||
19 | crossbuild: | ||
20 | platforms: | ||
21 | - linux/amd64 | ||
22 | - linux/386 | ||
23 | - darwin/amd64 | ||
24 | - darwin/386 | ||
25 | - netbsd/amd64 | ||
26 | - netbsd/386 | ||
27 | - linux/arm | ||
28 | - linux/arm64 | ||
29 | - linux/mips | ||
30 | - linux/mipsle | ||
31 | - linux/mips64 | ||
32 | - linux/mips64le | ||
33 | - linux/ppc64le | ||