mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
c0e4746c80
Use standard Prometheus Community build infra. * Update Go modules for new location * Update references to github URLs * Update for Go 1.17+ Signed-off-by: SuperQ <superq@gmail.com>
19 lines
672 B
YAML
19 lines
672 B
YAML
go:
|
|
# This must match .circle/config.yml.
|
|
version: 1.18
|
|
repository:
|
|
path: github.com/prometheus-community/smartctl_exporter
|
|
build:
|
|
binaries:
|
|
- name: smartctl_exporter
|
|
flags: -a -tags 'netgo static_build'
|
|
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
|
|
- NOTICE
|