...
1go:
2 # Whenever the Go version is updated here, .travis.yml and
3 # .circle/config.yml should also be updated.
4 version: 1.19
5repository:
6 path: github.com/prometheus/alertmanager
7build:
8 binaries:
9 - name: alertmanager
10 path: ./cmd/alertmanager
11 - name: amtool
12 path: ./cmd/amtool
13 flags: -a
14 tags:
15 all:
16 - netgo
17 windows: []
18 ldflags: |
19 -X github.com/prometheus/common/version.Version={{.Version}}
20 -X github.com/prometheus/common/version.Revision={{.Revision}}
21 -X github.com/prometheus/common/version.Branch={{.Branch}}
22 -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
23 -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
24tarball:
25 files:
26 - examples/ha/alertmanager.yml
27 - LICENSE
28 - NOTICE
29crossbuild:
30 platforms:
31 - darwin
32 - dragonfly
33 - freebsd
34 - illumos
35 - linux
36 - netbsd
37 - openbsd
38 - windows
View as plain text