diff options
author | Ben Kochie <superq@gmail.com> | 2018-11-30 14:01:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 14:01:20 +0100 |
commit | becca1275c77ffab31ec7082b3bd9ba9382a6c1a (patch) | |
tree | 3c201ab4743d461ecdb9ccd39928c3a9dd2a4948 /.promu.yml | |
parent | 1732478361a57dea9f7cd0f319c5a34cebcf047d (diff) | |
download | prometheus_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.yml | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,13 +3,13 @@ repository: | |||
3 | build: | 3 | build: |
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"}} |
13 | tarball: | 13 | tarball: |
14 | files: | 14 | files: |
15 | - LICENSE | 15 | - LICENSE |