1go:
2    # Whenever the Go version is updated here,
3    # .circle/config.yml should also be updated.
4    version: 1.13
5repository:
6    path: github.com/prometheus/prometheus
7build:
8    binaries:
9        - name: prometheus
10          path: ./cmd/prometheus
11        - name: promtool
12          path: ./cmd/promtool
13        - name: tsdb
14          path: ./tsdb/cmd/tsdb
15    flags: -mod=vendor -a -tags netgo,builtinassets
16    ldflags: |
17        -X github.com/prometheus/common/version.Version={{.Version}}
18        -X github.com/prometheus/common/version.Revision={{.Revision}}
19        -X github.com/prometheus/common/version.Branch={{.Branch}}
20        -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
21        -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
22tarball:
23    files:
24        - consoles
25        - console_libraries
26        - documentation/examples/prometheus.yml
27        - LICENSE
28        - NOTICE
29        - npm_licenses.tar.bz2
30crossbuild:
31    platforms:
32        - linux/amd64
33        - linux/386
34        - darwin/amd64
35        - darwin/386
36        - windows/amd64
37        - windows/386
38        - freebsd/amd64
39        - freebsd/386
40        - openbsd/amd64
41        - openbsd/386
42        - netbsd/amd64
43        - netbsd/386
44        - dragonfly/amd64
45        - linux/arm
46        - linux/arm64
47        - freebsd/arm
48        - openbsd/arm
49        - linux/mips64
50        - linux/mips64le
51        - netbsd/arm
52        - linux/ppc64
53        - linux/ppc64le
54        - linux/s390x
55