Remove CircleCI config file
This commit is contained in:
parent
511cbbca11
commit
9c8d648a78
1 changed files with 0 additions and 34 deletions
|
@ -1,34 +0,0 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: abcum/circle-golang:latest
|
||||
environment:
|
||||
GOOGLE_APPLICATION_CREDENTIALS: /root/gcloud-service-key.json
|
||||
working_directory: /go/src/github.com/abcum/surreal
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Auth
|
||||
command: gcauth
|
||||
- run:
|
||||
name: Clean
|
||||
command: make clean
|
||||
- run:
|
||||
name: Tests
|
||||
command: make tests
|
||||
- run:
|
||||
name: Build
|
||||
command: make build
|
||||
- setup_remote_docker
|
||||
- run:
|
||||
name: Deploy
|
||||
command: |
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
docker build -t surreal/surreal .
|
||||
docker push surreal/surreal
|
||||
gcloud docker -- build -t surreal/surreal .
|
||||
gcloud docker -- tag surreal/surreal:latest eu.gcr.io/surreal-io/surreal:latest
|
||||
gcloud docker -- push eu.gcr.io/surreal-io/surreal:latest
|
||||
fi
|
Loading…
Reference in a new issue