2 Star 1 Fork 1

KevinLiu / node_exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.promu-cgo.yml 831 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ben Kochie 提交于 2020-09-23 21:06 . Update build (#1852)
go:
# Whenever the Go version is updated here, .circle/config.yml and
# .promu.yml should also be updated.
version: 1.15
cgo: true
repository:
path: github.com/prometheus/node_exporter
build:
binaries:
- name: node_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
crossbuild:
platforms:
- darwin/amd64
- netbsd/amd64
- netbsd/386
1
https://gitee.com/kevinliu_CQ/node_exporter.git
git@gitee.com:kevinliu_CQ/node_exporter.git
kevinliu_CQ
node_exporter
node_exporter
master

搜索帮助