2019-07-09 12:14:54 +00:00
|
|
|
go:
|
|
|
|
# Whenever the Go version is updated here,
|
2019-10-14 13:58:59 +00:00
|
|
|
# .cirrus.yml should also be updated.
|
2021-09-21 10:22:30 +00:00
|
|
|
version: 1.17
|
2019-07-09 12:14:54 +00:00
|
|
|
|
|
|
|
repository:
|
2021-09-21 10:18:34 +00:00
|
|
|
path: github.com/prometheus-community/ipmi_exporter
|
2019-07-09 12:14:54 +00:00
|
|
|
build:
|
2021-09-21 10:18:34 +00:00
|
|
|
flags: -a -tags 'netgo static_build'
|
2019-07-09 12:14:54 +00:00
|
|
|
ldflags: |
|
|
|
|
-X github.com/prometheus/common/version.Version={{.Version}}
|
|
|
|
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
|
|
|
-X github.com/prometheus/common/version.Branch={{.Branch}}
|
|
|
|
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
|
|
|
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
|
|
|
tarball:
|
|
|
|
files:
|
|
|
|
- LICENSE
|
2021-09-21 10:18:34 +00:00
|
|
|
crossbuild:
|
|
|
|
platforms:
|
|
|
|
# Disable aix: undefined: syscall.Mkfifo
|
|
|
|
# - aix
|
|
|
|
- darwin
|
|
|
|
- dragonfly
|
|
|
|
- freebsd
|
|
|
|
# Disable illumos: undefined: syscall.Mkfifo
|
|
|
|
# - illumos
|
|
|
|
- linux
|
|
|
|
- netbsd
|
|
|
|
- openbsd
|
|
|
|
# Disable windows: undefined: syscall.Mkfifo
|
|
|
|
# - windows
|