From c7dfb82dac2d599d9eb3012b55a067a89f37f5c7 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Tue, 25 Sep 2018 16:02:42 +0200 Subject: 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 --- .promu.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .promu.yml (limited to '.promu.yml') diff --git a/.promu.yml b/.promu.yml deleted file mode 100644 index a607eaf..0000000 --- a/.promu.yml +++ /dev/null @@ -1,33 +0,0 @@ -go: - cgo: true -repository: - path: github.com/prometheus/node_exporter -build: - binaries: - - name: node_exporter - flags: -a -tags 'netgo static_build' - ldflags: | - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} -tarball: - files: - - LICENSE - - NOTICE -crossbuild: - platforms: - - linux/amd64 - - linux/386 - - darwin/amd64 - - darwin/386 - - netbsd/amd64 - - netbsd/386 - - linux/arm - - linux/arm64 - - linux/mips - - linux/mipsle - - linux/mips64 - - linux/mips64le - - linux/ppc64le -- cgit v1.2.3