mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 01:05:21 +00:00
52f3bbe920
* changed workdir according a wetkitty:service-erlang.sls.tpl * fixed: formatter * used SERVICE_NAME variable to setup paths and docker image name * fixed tests |
||
---|---|---|
apps | ||
build_utils@24aa772730 | ||
config | ||
test/machinegun | ||
.gitignore | ||
.gitmodules | ||
docker-compose.sh | ||
Dockerfile.sh | ||
elvis.config | ||
Jenkinsfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
rebar.config | ||
rebar.lock | ||
TODO.md |
Hellgate
Core logic service for payment states processing.
Building
We widelly use Thrift to define RPC protocols. So it needs to have our Thrift compiler in PATH to build this service. The recommended way to achieve this is by using our build image.
We are still experimenting on opening our build infrastructure so that you can use the explicit public registry setting for now.
You can adjust this parameter by exporting the environment variable REGISTRY
.
Сheatsheet
To build the service image without access to the internal RBK.money registry:
make submodules && REGISTRY=ghcr.io make wc_release build_image
To compile:
make submodules && REGISTRY=ghcr.io make wc_compile
To run the service tests (you need either to have access to the internal RBK.money registry or to modify docker-compose.sh
):
make wdeps_test