aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-11-30 14:01:20 +0100
committerGitHub <noreply@github.com>2018-11-30 14:01:20 +0100
commitbecca1275c77ffab31ec7082b3bd9ba9382a6c1a (patch)
tree3c201ab4743d461ecdb9ccd39928c3a9dd2a4948 /.promu.yml
parent1732478361a57dea9f7cd0f319c5a34cebcf047d (diff)
downloadprometheus_node_collector-becca1275c77ffab31ec7082b3bd9ba9382a6c1a.tar.bz2
prometheus_node_collector-becca1275c77ffab31ec7082b3bd9ba9382a6c1a.tar.xz
prometheus_node_collector-becca1275c77ffab31ec7082b3bd9ba9382a6c1a.zip
Convert to Go modules (#1178)
* Convert to Go modules * Update promu config. * Convert to Go modules. * Update vendoring. * Update Makefile.common. * Update circleci config. * Use Prometheus release tar for promtool. * Fixup unpack * Use temp dir for unpacking tools. * Use BSD compatible tar command. * OpenBSD mkdir doesn't support `-v`. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to '.promu.yml')
-rw-r--r--.promu.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.promu.yml b/.promu.yml
index b329ed3..b1f4c8d 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -3,13 +3,13 @@ repository:
3build: 3build:
4 binaries: 4 binaries:
5 - name: node_exporter 5 - name: node_exporter
6 flags: -a -tags 'netgo static_build' 6 flags: -mod=vendor -a -tags 'netgo static_build'
7 ldflags: | 7 ldflags: |
8 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} 8 -X github.com/prometheus/common/version.Version={{.Version}}
9 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} 9 -X github.com/prometheus/common/version.Revision={{.Revision}}
10 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} 10 -X github.com/prometheus/common/version.Branch={{.Branch}}
11 -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} 11 -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
12 -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} 12 -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
13tarball: 13tarball:
14 files: 14 files:
15 - LICENSE 15 - LICENSE