* Bump to rbkmoney/genlib@1ca0879
* Bump to rbkmoney/dominant@6896d15 service image
* Bump to rbkmoney/machinegun@b366973 service image

Co-authored-by: Toporkov Igor <i.toporkov@rbkmoney.com>
This commit is contained in:
Andrew Mayorov 2020-08-19 12:49:41 +03:00 committed by GitHub
parent ffbb01d2da
commit 24e3aad9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 10 deletions

View File

@ -13,7 +13,7 @@ services:
dominant:
condition: service_healthy
dominant:
image: dr2.rbkmoney.com/rbkmoney/dominant:631f9848eceec4dd3117b375845f5c82da56e85b
image: dr2.rbkmoney.com/rbkmoney/dominant:6896d15357e87eb3de47d3e1aabcb1444e9c4f90
command: /opt/dominant/bin/dominant foreground
depends_on:
machinegun:
@ -24,10 +24,11 @@ services:
timeout: 1s
retries: 12
machinegun:
image: dr2.rbkmoney.com/rbkmoney/machinegun:7e6c4251a801cc00dbf8340c723010d68e2d86f1
image: dr2.rbkmoney.com/rbkmoney/machinegun:b366973cec80a4d326840660405e50a3cac6cded
command: /opt/machinegun/bin/machinegun foreground
volumes:
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
healthcheck:
test: "curl http://localhost:8022/"
interval: 5s

View File

@ -26,7 +26,7 @@
2},
{<<"genlib">>,
{git,"https://github.com/rbkmoney/genlib.git",
{ref,"f805a11f6e73faffb05656c5192fbe199df36f27"}},
{ref,"1ca08793ad8af0beb26eda8cd00687c69f7ef8b4"}},
0},
{<<"gproc">>,{pkg,<<"gproc">>,<<"0.8.0">>},1},
{<<"hackney">>,{pkg,<<"hackney">>,<<"1.15.2">>},1},
@ -42,17 +42,17 @@
{<<"ranch">>,{pkg,<<"ranch">>,<<"1.6.2">>},2},
{<<"snowflake">>,
{git,"https://github.com/rbkmoney/snowflake.git",
{ref,"563d8ef9543c1e4424aefa9ec7b41aa68885f0ad"}},
{ref,"7f379ad5e389e1c96389a8d60bae8117965d6a6d"}},
1},
{<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.5">>},2},
{<<"thrift">>,
{git,"https://github.com/rbkmoney/thrift_erlang.git",
{ref,"d393ef9cdb10f3d761ba3a603df2b2929dc19a10"}},
{ref,"4eda678c985d2894251b91ae43aacf7941846cc9"}},
1},
{<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.4.1">>},3},
{<<"woody">>,
{git,"https://github.com/rbkmoney/woody_erlang.git",
{ref,"dd5eaa73ce56a85ddc45d4d3c632627ee99e16c1"}},
{ref,"d106ef66bdd9ac303e05e1d5cddde85e0fa5f36a"}},
0}]}.
[
{pkg_hash,[

View File

@ -11,25 +11,25 @@
dmt_client:version() | no_return().
commit(Version, Commit, Opts) ->
call('Repository', 'Commit', [Version, Commit], Opts).
call('Repository', 'Commit', {Version, Commit}, Opts).
-spec checkout(dmt_client:ref(), dmt_client:transport_opts()) ->
dmt_client:snapshot() | no_return().
checkout(Reference, Opts) ->
call('Repository', 'Checkout', [Reference], Opts).
call('Repository', 'Checkout', {Reference}, Opts).
-spec pull_range(dmt_client:version(), dmt_client:limit(), dmt_client:transport_opts()) ->
dmt_client:history() | no_return().
pull_range(After, Limit, Opts) ->
call('Repository', 'PullRange', [After, Limit], Opts).
call('Repository', 'PullRange', {After, Limit}, Opts).
-spec checkout_object(dmt_client:ref(), dmt_client:object_ref(), dmt_client:transport_opts()) ->
dmsl_domain_thrift:'DomainObject'() | no_return().
checkout_object(Reference, ObjectReference, Opts) ->
call('RepositoryClient', 'checkoutObject', [Reference, ObjectReference], Opts).
call('RepositoryClient', 'checkoutObject', {Reference, ObjectReference}, Opts).
call(ServiceName, Function, Args, TransportOpts) ->

View File

@ -1,4 +1,6 @@
service_name: machinegun
erlang:
secret_cookie_file: "/opt/machinegun/etc/cookie"
namespaces:
domain-config:
processor:

1
test/machinegun/cookie Normal file
View File

@ -0,0 +1 @@
HEREAREYOUAGAIN