APP
- actual service name, used everywherePROJECT
- project repo on Github, Gitlab etc.REGISTRY
- container registry the image will be pushed to;RELEASE
- SemVer version of the release;NAMESPACE
- the namespace where service will be deployed to;INFRASTRUCTURE
- name of config to use while deploying (charts/values-($INFRASTRUCTURE).yaml
will be used);HTTP_PORT
- preferred port for recieving HTTP requests;HTTP_SECONDARY_PORT
- preferred port for internal HTTP requests (docs, health- and readyness check etc.);GRPC_PORT
- preferred port for recieving gRPC requests;
generate
- update generatedpkg/*
files and Swagger docs by currentapi/*.proto
files
bootstrap
- install godep, golint and golang-ci linter on your $GOPATH;test
- rungo fmt
,go lint
,go vet
,go test
on all the Go files in directory;coverage
- count up test coverage;lint_full
- run golang-ci linter;
certs
- create sertificates;build
- runtest
,certs
, build the broject into binary and put binary and certs into Docker image;run
- runbuild
and run container on local Docker;logs
- fetch logs from inside the containerstop
- stop container if running;start
- restart container;rm
- remove container image from Docker;
push
- runbuild
and push image into registry;deploy
- runpush
and deploy service on Kubernetes by upgrading Helm release with charts;kube_clean
- removes the service, deployment and config from Kubernetes;