2019-01-23 20:19:05 +00:00
|
|
|
project_name: influxdb
|
2018-05-22 20:42:32 +00:00
|
|
|
builds:
|
2020-05-20 17:31:25 +00:00
|
|
|
- id: influx
|
|
|
|
goos:
|
2018-06-15 09:16:34 +00:00
|
|
|
- linux
|
2020-05-29 15:02:56 +00:00
|
|
|
# Darwin cross compilation involves installing
|
|
|
|
# a compiler toolchain for it.
|
|
|
|
# https://github.com/influxdata/flux/issues/2654
|
|
|
|
# - darwin
|
2018-06-15 09:16:34 +00:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
main: ./cmd/influx/
|
2018-09-26 05:32:44 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2020-05-29 15:02:56 +00:00
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=xcc
|
|
|
|
- PKG_CONFIG=/go/bin/pkg-config
|
2019-01-22 21:46:47 +00:00
|
|
|
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
|
2018-06-15 09:16:34 +00:00
|
|
|
binary: influx
|
2020-05-20 17:31:25 +00:00
|
|
|
- id: influxd
|
|
|
|
goos:
|
2018-08-31 17:58:21 +00:00
|
|
|
- linux
|
2020-05-29 15:02:56 +00:00
|
|
|
# Darwin cross compilation involves installing
|
|
|
|
# a compiler toolchain for it.
|
|
|
|
# https://github.com/influxdata/flux/issues/2654
|
|
|
|
# - darwin
|
2018-08-31 17:58:21 +00:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
main: ./cmd/influxd/
|
2018-09-26 05:32:44 +00:00
|
|
|
flags:
|
|
|
|
- -tags=assets
|
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2020-05-29 15:02:56 +00:00
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=xcc
|
|
|
|
- PKG_CONFIG=/go/bin/pkg-config
|
2019-01-22 21:46:47 +00:00
|
|
|
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
|
2018-08-31 17:58:21 +00:00
|
|
|
binary: influxd
|
2018-12-20 22:17:32 +00:00
|
|
|
hooks:
|
|
|
|
pre: make generate
|
2018-05-22 20:42:32 +00:00
|
|
|
|
2020-05-20 17:31:25 +00:00
|
|
|
archives:
|
|
|
|
- format: tar.gz
|
|
|
|
wrap_in_directory: true
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
name_template: 'influxdb_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- README.md
|
2018-05-22 20:42:32 +00:00
|
|
|
|
2020-05-20 17:31:25 +00:00
|
|
|
blobs:
|
|
|
|
- provider: "s3"
|
|
|
|
bucket: "dl.influxdata.com"
|
|
|
|
region: "us-east-1"
|
2019-01-23 20:19:05 +00:00
|
|
|
folder: "influxdb/releases/"
|
2018-07-17 19:03:40 +00:00
|
|
|
|
|
|
|
dockers:
|
2019-01-16 16:11:37 +00:00
|
|
|
- goos: linux
|
|
|
|
goarch: amd64
|
2019-01-11 16:12:36 +00:00
|
|
|
binaries:
|
2019-01-16 16:11:37 +00:00
|
|
|
- influxd
|
|
|
|
- influx
|
2019-01-11 16:12:36 +00:00
|
|
|
image_templates:
|
2019-01-23 20:19:05 +00:00
|
|
|
- 'quay.io/influxdb/influxdb:{{ .Env.DOCKER_VERSION }}'
|
2018-08-31 17:58:21 +00:00
|
|
|
dockerfile: docker/influxd/Dockerfile
|
|
|
|
extra_files:
|
|
|
|
- docker/influxd/entrypoint.sh
|
2018-09-18 15:55:15 +00:00
|
|
|
|
|
|
|
# Do not make github release
|
|
|
|
release:
|
2019-01-23 20:19:05 +00:00
|
|
|
name_template: "v{{.Version}}"
|
|
|
|
prerelease: auto # when we go to GA remove this line
|
|
|
|
draft: true # when we go to GA remove this line
|
|
|
|
disable: true # we keep the artifacts in S3 and link from the website
|