Skip to content

Commit

Permalink
Release doc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Raddon committed Nov 11, 2017
1 parent 391e1fd commit 2e78073
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . ${GOPATH}/src/github.com/dataux/dataux/
WORKDIR ${GOPATH}/src/github.com/dataux/dataux/

RUN \
dep ensure -update -v && \
dep ensure -v && \
go build

ENTRYPOINT [ "./dataux" ]
9 changes: 4 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ required = ["github.com/googleapis/gax-go"]
branch = "master"
name = "golang.org/x/net"

[[override]]
revision = "b3e7c2fb04031add52c4817f53f43757ccbf9c18"
name = "google.golang.org/genproto"

[[override]]
#branch = "master"
Expand All @@ -128,6 +131,8 @@ required = ["github.com/googleapis/gax-go"]
revision = "708a7f9f3283aa2d4f6132d287d78683babe55c8"
name = "google.golang.org/grpc"



[[constraint]]
branch = "v2"
name = "gopkg.in/mgo.v2"
Expand Down
11 changes: 3 additions & 8 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export GITHUB_REPO="dataux"

cd $GOPATH/src/github.com/dataux/dataux

# ensure before we build it is correct
# ensure before we build it is correct package vendoring
dep ensure -v

dockerbuild() {
Expand All @@ -39,9 +39,6 @@ dockerbuild() {
docker rm -f gcr.io/dataux-io/dataux:$TAG
docker rmi -f gcr.io/dataux-io/dataux:$TAG

docker rm -f gcr.io/dataux-io/dataux:$TAG
docker rmi -f gcr.io/dataux-io/dataux:$TAG

# if you get auth issues
#
# rm ~/.docker/config.json
Expand All @@ -50,19 +47,17 @@ dockerbuild() {
docker build -t gcr.io/dataux-io/dataux:$TAG .
gcloud docker -- push gcr.io/dataux-io/dataux:$TAG

docker build -t gcr.io/dataux-io/dataux:latest .
docker tag gcr.io/dataux-io/dataux:$TAG gcr.io/dataux-io/dataux:latest
#docker build -t gcr.io/dataux-io/dataux:latest .
gcloud docker -- push gcr.io/dataux-io/dataux:latest

# now lets allow anyone to read these gcr images
# https://cloud.google.com/container-registry/docs/access-control
gsutil defacl ch -u AllUsers:R gs://artifacts.dataux-io.appspot.com
gsutil acl ch -r -u AllUsers:R gs://artifacts.dataux-io.appspot.com
#rm dataux
}




dorelease() {

# http://stackoverflow.com/questions/11354518/golang-application-auto-build-versioning
Expand Down

0 comments on commit 2e78073

Please sign in to comment.