2019-07-09 12:14:54 +00:00
|
|
|
go:
|
|
|
|
# Whenever the Go version is updated here,
|
2022-02-21 20:43:07 +00:00
|
|
|
# .circleci/config.yml should also be updated.
|
2022-05-06 13:10:33 +00:00
|
|
|
version: 1.18
|
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
|