aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
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