2020-11-18 23:17:49 +00:00
project_name : influxdb
2019-01-23 20:19:05 +00:00
builds :
2020-05-27 18:01:12 +00:00
- id : influx
goos :
2020-05-27 17:07:33 +00:00
- linux
2020-06-10 03:45:13 +00:00
- darwin
2019-01-23 20:19:05 +00:00
goarch :
2020-05-27 17:07:33 +00:00
- amd64
2020-11-18 23:17:49 +00:00
2019-01-23 20:19:05 +00:00
main : ./cmd/influx/
2020-07-23 18:46:58 +00:00
flags :
- -tags={{if and (eq .Os "linux") (eq .Arch "amd64")}}osusergo,netgo,static_build{{end}}
2019-01-23 20:19:05 +00:00
env :
- GO111MODULE=on
2020-05-29 15:02:56 +00:00
- CGO_ENABLED=1
- CC=xcc
2020-06-04 22:14:32 +00:00
- PKG_CONFIG=$GOPATH/bin/pkg-config
2020-06-10 03:45:13 +00:00
- MACOSX_DEPLOYMENT_TARGET=10.11
2020-07-23 18:46:58 +00:00
ldflags :
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} {{if and (eq .Os "linux") (eq .Arch "amd64")}}-extldflags "-fno-PIC -static -Wl,-z,stack-size=8388608"{{end}}
2019-01-23 20:19:05 +00:00
binary : influx
2020-11-18 23:17:49 +00:00
2020-05-27 18:01:12 +00:00
- id : influxd
goos :
2020-05-27 17:07:33 +00:00
- linux
2020-06-10 03:45:13 +00:00
- darwin
2019-01-23 20:19:05 +00:00
goarch :
2020-05-27 17:07:33 +00:00
- amd64
2020-11-18 23:17:49 +00:00
2019-01-23 20:19:05 +00:00
main : ./cmd/influxd/
flags :
2020-07-23 18:46:58 +00:00
- -tags=assets{{if and (eq .Os "linux") (eq .Arch "amd64")}},osusergo,netgo,static_build{{end}}
2019-01-23 20:19:05 +00:00
env :
- GO111MODULE=on
2020-05-29 15:02:56 +00:00
- CGO_ENABLED=1
- CC=xcc
2020-06-04 22:14:32 +00:00
- PKG_CONFIG=$GOPATH/bin/pkg-config
2020-06-10 03:45:13 +00:00
- MACOSX_DEPLOYMENT_TARGET=10.11
2020-07-23 18:46:58 +00:00
ldflags :
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} {{if and (eq .Os "linux") (eq .Arch "amd64")}}-extldflags "-fno-PIC -static -Wl,-z,stack-size=8388608"{{end}}
2019-01-23 20:19:05 +00:00
binary : influxd
hooks :
pre : make generate
2020-11-18 23:17:49 +00:00
nfpms :
-
id : "influxdata"
builds : [ "influx" , "influxd" ]
formats :
- deb
- rpm
bindir : /usr/bin
files :
"scripts/init.sh": "/usr/lib/influxdb/scripts/init.sh"
"scripts/influxdb.service": "/usr/lib/influxdb/scripts/influxdb.service"
"scripts/logrotate": "/etc/logrotate.d/influxdb"
scripts :
preinstall : "scripts/pre-install.sh"
postinstall : "scripts/post-install.sh"
postremove : "scripts/post-uninstall.sh"
overrides :
rpm :
replacements :
amd64 : x86_64
file_name_template : "influxdb-nightly.{{ .Arch }}{{if .Arm}}{{ if eq .Arm \"5\" }}el{{end}}{{ end }}{{if .Arm}}{{ if eq .Arm \"6\" }}hf{{end}}{{ end }}"
deb :
file_name_template : "influxdb_nightly_{{ .Arch }}{{if .Arm}}{{ if eq .Arm \"5\" }}el{{end}}{{ end }}{{if .Arm}}{{ if eq .Arm \"6\" }}hf{{end}}{{ end }}"
vendor : InfluxData
homepage : https://influxdata.com
maintainer : support@influxdb.com
description : Distributed time-series database.
license : Proprietary
2020-05-27 17:07:33 +00:00
archives :
- format : tar.gz
wrap_in_directory : true
format_overrides :
- goos : windows
format : zip
2020-11-18 23:17:49 +00:00
name_template : "influxdb_nightly_{{ .Os }}_{{ .Arch }}{{if .Arm}}{{ if eq .Arm \"5\" }}el{{end}}{{ end }}{{if .Arm}}{{ if eq .Arm \"6\" }}hf{{end}}{{ end }}"
2020-05-27 17:07:33 +00:00
files :
- LICENSE
- README.md
2019-01-23 20:19:05 +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 : "platform/nightlies/"
2020-11-18 23:17:49 +00:00
checksum :
name_template : "influxdb_nightly.sha256"
algorithm : sha256
2019-01-23 20:19:05 +00:00
dockers :
- goos : linux
goarch : amd64
binaries :
2020-05-27 17:07:33 +00:00
- influxd
- influx
2019-01-23 20:19:05 +00:00
image_templates :
2020-11-18 23:17:49 +00:00
- "quay.io/influxdb/influxdb:nightly"
2019-01-23 20:19:05 +00:00
dockerfile : docker/influxd/Dockerfile
extra_files :
- docker/influxd/entrypoint.sh
# Do not make github release
release :
disable : true