Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move service deployment related server side logic from cli #371

Merged
merged 24 commits into from
Aug 24, 2018
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
21dcdb1
make dev-core script to exit on fail
ilgooz Aug 16, 2018
c72acea
move service deployment related server side logic from cli, closes #366
ilgooz Aug 16, 2018
181cd6b
update vendor
ilgooz Aug 16, 2018
7bf910f
add more comments & minor improvements
ilgooz Aug 16, 2018
d9e9603
update vendor
ilgooz Aug 16, 2018
db10cb9
add mesg/service-test-invalid/
ilgooz Aug 17, 2018
535decf
merge dev
ilgooz Aug 17, 2018
b5761ab
fix: add missing return
ilgooz Aug 17, 2018
a18ab8d
improve comments
ilgooz Aug 17, 2018
b22027a
minor fixes and improvements
ilgooz Aug 17, 2018
b17faa6
Merge branch 'dev' into feature/simplify-cli-deploy
ilgooz Aug 20, 2018
0886687
Merge branch 'dev' into feature/simplify-cli-deploy
ilgooz Aug 20, 2018
e67a51e
Merge branch 'dev' into feature/simplify-cli-deploy
ilgooz Aug 22, 2018
5e7fd59
update spinner package in favor of github.com/briandowns/spinner#59
ilgooz Aug 22, 2018
c281cd3
update vendors
ilgooz Aug 22, 2018
facc4ed
update codeclimate.yml for return statements count
ilgooz Aug 23, 2018
33a1d78
Dockerfile: improve apt-get
ilgooz Aug 23, 2018
3ad1587
mesg: update docs
ilgooz Aug 23, 2018
ce8cd50
cmd/service: [fix] return true by default for isValid of deployService()
ilgooz Aug 23, 2018
d9234fd
reapply all the removed status messages produced during service deplo…
ilgooz Aug 23, 2018
b119262
Generate proto with previous version
NicolasMahe Aug 24, 2018
43e8fa5
Merge branch 'dev' into feature/simplify-cli-deploy
ilgooz Aug 24, 2018
1b11a0e
cmd: use spinner util & fix err result on readDeployReply()
ilgooz Aug 24, 2018
d2e50c8
fix dev-core script and integration test in api/core
ilgooz Aug 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ plugins:
enabled: true
govet:
enabled: true

checks:
return-statements:
config:
threshold: 6
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM golang:1.10.3-stretch AS build
WORKDIR src/github.com/mesg-foundation/core
COPY . .

ARG version
RUN go build -o mesg-core \
-ldflags="-X 'github.com/mesg-foundation/core/version.Version=$version'" \
core/main.go

FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates=20180409 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=build /go/src/github.com/mesg-foundation/core/mesg-core .
CMD ["./mesg-core"]
6 changes: 3 additions & 3 deletions Gopkg.lock

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

8 changes: 0 additions & 8 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
branch = "master"
name = "github.com/asaskevich/govalidator"

[[constraint]]
branch = "master"
name = "github.com/briandowns/spinner"

[[constraint]]
branch = "master"
name = "github.com/cnf/structhash"
Expand Down Expand Up @@ -68,10 +64,6 @@
branch = "master"
name = "github.com/spf13/viper"

[[constraint]]
branch = "master"
name = "github.com/stvp/assert"

[[constraint]]
branch = "master"
name = "github.com/syndtr/goleveldb"
Expand Down
Loading