New release process using docker, circleci and a centralized

building tool
This commit is contained in:
Steve Durrheimer 2016-01-24 23:38:06 +01:00
commit 158200fd49
No known key found for this signature in database
GPG key ID: 5435BD02508176B7
9 changed files with 158 additions and 26 deletions

27
.promu.yml Normal file
View file

@ -0,0 +1,27 @@
go: 1.5.4
repository:
path: github.com/prometheus/node_exporter
build:
ldflags: |
-X main.Version={{.Version}}
-X {{repoPath}}/collector.Version={{.Version}}
-X {{repoPath}}/collector.Revision={{.Revision}}
-X {{repoPath}}/collector.Branch={{.Branch}}
tarball:
files:
- LICENSE
- NOTICE
crossbuild:
platforms:
- linux/amd64
- linux/386
- darwin/amd64
- darwin/386
- windows/amd64
- windows/386
- netbsd/amd64
- netbsd/386
- linux/arm
- linux/arm64
- netbsd/arm
- linux/ppc64le