tech(build): adds s3 bucket for nightly

This commit is contained in:
bergquist 2017-01-24 13:58:37 +01:00
parent f7993db73c
commit 3d6698389b
2 changed files with 2 additions and 6 deletions

View File

@ -31,14 +31,14 @@ test:
deployment: deployment:
gh_branch: gh_branch:
branch: new_deploy branch: master
owner: grafana owner: grafana
commands: commands:
- pip install awscli - pip install awscli
- ./scripts/build/build_container.sh - ./scripts/build/build_container.sh
- ./scripts/build/deploy.sh - ./scripts/build/deploy.sh
#- ./scripts/build/sign_packages.sh #- ./scripts/build/sign_packages.sh
#- aws s3 sync ./dist s3://$BUCKET_NAME - aws s3 sync ./dist s3://$NIGHTLY_BUCKET_NAME
#- ./scripts/trigger_grafana_docker_build.sh ${TRIGGER_GRAFANA_DOCKER_CIRCLECI_TOKEN} #- ./scripts/trigger_grafana_docker_build.sh ${TRIGGER_GRAFANA_DOCKER_CIRCLECI_TOKEN}
gh_tag: gh_tag:
tag: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/ tag: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/

View File

@ -18,12 +18,8 @@ yarn install --pure-lockfile
exit_if_fail npm test exit_if_fail npm test
#test -z "$(gofmt -s -l ./pkg/... | tee /dev/stderr)"
exit_if_fail test -z "$(gofmt -s -l ./pkg/... | tee /dev/stderr)" exit_if_fail test -z "$(gofmt -s -l ./pkg/... | tee /dev/stderr)"
#exit_if_fail go run build.go setup
exit_if_fail go run build.go build exit_if_fail go run build.go build
exit_if_fail go vet ./pkg/... exit_if_fail go vet ./pkg/...
exit_if_fail go test -v ./pkg/... exit_if_fail go test -v ./pkg/...