2015-03-07 05:40:19 -06:00
|
|
|
machine:
|
2015-09-13 05:13:47 -05:00
|
|
|
node:
|
2016-06-17 07:36:10 -05:00
|
|
|
version: 5.11.1
|
2015-03-07 06:07:22 -06:00
|
|
|
environment:
|
|
|
|
GOPATH: "/home/ubuntu/.go_workspace"
|
|
|
|
ORG_PATH: "github.com/grafana"
|
|
|
|
REPO_PATH: "${ORG_PATH}/grafana"
|
2016-12-02 14:27:12 -06:00
|
|
|
GODIST: "go1.7.4.linux-amd64.tar.gz"
|
2016-09-14 09:16:06 -05: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-03-07 05:40:19 -06:00
|
|
|
|
2015-03-07 05:52:31 -06:00
|
|
|
dependencies:
|
2015-03-07 05:46:17 -06:00
|
|
|
override:
|
2015-03-07 06:07:22 -06:00
|
|
|
- rm -rf ${GOPATH}/src/${REPO_PATH}
|
|
|
|
- mkdir -p ${GOPATH}/src/${ORG_PATH}
|
2016-09-14 09:16:06 -05:00
|
|
|
- cp -r ~/grafana ${GOPATH}/src/${ORG_PATH}
|
2015-03-07 05:46:17 -06:00
|
|
|
|
2015-03-07 05:40:19 -06:00
|
|
|
test:
|
2015-03-07 05:43:17 -06:00
|
|
|
override:
|
2016-09-14 09:16:06 -05:00
|
|
|
- bash scripts/circle-test.sh
|
2016-01-27 13:18:35 -06:00
|
|
|
|
|
|
|
deployment:
|
|
|
|
master:
|
|
|
|
branch: master
|
|
|
|
owner: grafana
|
2016-04-25 11:53:15 -05:00
|
|
|
commands:
|
2016-09-15 05:57:41 -05:00
|
|
|
- ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
|
2016-10-13 10:11:04 -05:00
|
|
|
- ./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN}
|