2015-04-16 03:44:14 +00:00
|
|
|
machine:
|
2015-08-18 03:27:43 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2016-05-17 22:38:41 +00:00
|
|
|
environment:
|
2017-05-25 21:03:07 +00:00
|
|
|
GODIST: "go1.8.3.linux-amd64.tar.gz"
|
2016-05-17 22:38:41 +00:00
|
|
|
post:
|
|
|
|
- mkdir -p download
|
|
|
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
|
|
|
- sudo rm -rf /usr/local/go
|
|
|
|
- sudo tar -C /usr/local -xzf download/$GODIST
|
|
|
|
|
2015-04-16 03:44:14 +00:00
|
|
|
dependencies:
|
2015-08-18 03:27:43 +00:00
|
|
|
cache_directories:
|
|
|
|
- "~/docker"
|
2016-05-17 22:38:41 +00:00
|
|
|
- ~/download
|
2015-12-03 16:44:17 +00:00
|
|
|
override:
|
|
|
|
- ./test.sh save:
|
|
|
|
# building the docker images can take a long time, hence caching
|
|
|
|
timeout: 1800
|
|
|
|
|
2015-02-25 20:09:37 +00:00
|
|
|
test:
|
|
|
|
override:
|
2015-04-16 03:44:14 +00:00
|
|
|
- bash circle-test.sh:
|
2015-04-13 20:18:12 +00:00
|
|
|
parallel: true
|
2017-03-22 17:44:29 +00:00
|
|
|
# Race tests using 960s timeout
|
|
|
|
timeout: 960
|
2016-07-14 19:24:51 +00:00
|
|
|
|
|
|
|
deployment:
|
|
|
|
release:
|
|
|
|
tag: /^v[0-9]+(\.[0-9]+)*(\S*)$/
|
|
|
|
commands:
|
|
|
|
- >
|
|
|
|
docker run
|
|
|
|
-e "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID"
|
|
|
|
-e "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY"
|
|
|
|
-v $(pwd):/root/go/src/github.com/influxdata/influxdb
|
2016-07-18 21:56:02 +00:00
|
|
|
influxdb_build_ubuntu64
|
2016-07-14 19:24:51 +00:00
|
|
|
--release
|
|
|
|
--package
|
|
|
|
--platform all
|
|
|
|
--arch all
|
|
|
|
--upload
|
|
|
|
--bucket dl.influxdata.com/influxdb/releases
|