forked from Deuxfleurs/bottin
Alex Auvolat
f8c726dcda
After an object has been updated, membership information must be propagated to other object. Such operations may fail when calling consul but if they do we don't return fail immediatly returning an error code any more. Instead we just print all the errors to our logs and try to process the remaining updates.
11 lines
333 B
Makefile
11 lines
333 B
Makefile
all: gobottin
|
|
|
|
gobottin: main.go ssha.go util.go acl.go read.go write.go
|
|
go get -d -v
|
|
CGO_ENABLED=0 GOOS=linux go build -a -v
|
|
|
|
docker: all
|
|
docker build -t lxpz/gobottin_amd64:$(TAG) .
|
|
docker push lxpz/gobottin_amd64:$(TAG)
|
|
docker tag lxpz/gobottin_amd64:$(TAG) lxpz/gobottin_amd64:latest
|
|
docker push lxpz/gobottin_amd64:latest
|