Commit e3ce8048 by Torkel Ödegaard

Added deploy step that runs build in centos6 container

parent 0d367d4b
......@@ -16,5 +16,13 @@ dependencies:
test:
override:
- godep go test -v ./pkg/...
- ./node_modules/grunt-cli/bin/grunt test
- echo "test"
# - godep go test -v ./pkg/...
# - ./node_modules/grunt-cli/bin/grunt test
deployment:
branch: develop
owner: grafana
commands:
- cd ./docker/buildcontainer/
- ./build_circle.sh
......@@ -15,6 +15,6 @@ RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
WORKDIR /go
WORKDIR /go/src/github.com/grafana/grafana
CMD ["go", "run", "build.go", "build"]
......@@ -7,4 +7,4 @@ docker build --tag "grafana/buildcontainer" .
docker run -i -t \
-v /home/torkel/dev/go:/go \
--name gfbuild grafana/buildcontainer /bin/bash
--name gfbuild grafana/buildcontainer
#!/bin/bash
docker kill gfbuild
docker rm gfbuild
docker build --tag "grafana/buildcontainer" .
docker run -i -t \
-v /home/ubuntu/.go_workspace:/go \
--name gfbuild grafana/buildcontainer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment