Commit Graph

47 Commits

Author SHA1 Message Date
Aleksey Kashapov
28c1b38ec6
TD-686: Adopts opentelemetry API (#40) 2023-10-24 16:14:18 +03:00
ndiezel0
a405fce864
TD-128: Add CI, Makefile, Dockerfile and docker-compose.yaml (#2)
* TD-128: Add CI, Makefile, Dockerfile and docker-compose.yaml

* Fix format and lint

* Use compose test

* Update erlang workflow version

* Add covertool

* Move to valitydev repos

* Add prometheus clarification

* Use compose spec instead of docker compose spec

* Update .github/workflows/build-image.yaml

Co-authored-by: Alexey S. <kehitt@users.noreply.github.com>

* Add healthchecks to dominant and machinegun in compose file

* Fix Dockerfile SERVICE arg

* Try to solve mystery of alias

* fix

* fix

* fix

* Only check shumway to be healthy

* Insert daemon socket

* Find container

* Inspect last container

* Try different method to print inspect

* One last try

* Fix

* Remove hostname from docker-compose.yaml

* Check `$SERVICENAME` availability

* cat envfile

* Test theory

* Change service name

* Revert experiments

* Fix healthcheck

* Disable wait for health on dominant

Co-authored-by: Alexey S. <kehitt@users.noreply.github.com>
2022-02-07 11:17:17 +03:00
Andrew Mayorov
fd3494fdff
Build and push images w/ GH action (#1)
* Fix README
2021-12-08 19:35:32 +03:00
dinama
a2dddbbc4a
ED-281: +support new InvalidChangeset (#18) 2021-09-29 16:34:42 +03:00
Sergey Yelin
f55197723b
ED-242: Upgrade Erlang 24 (#13) 2021-09-14 12:54:42 +03:00
yuri-bukhalenkov
52f3bbe920
changed workdir according a wetkitty:service-erlang.sls.tpl (#1)
* changed workdir according a wetkitty:service-erlang.sls.tpl

* fixed: formatter

* used SERVICE_NAME variable to setup paths and docker image name

* fixed tests
2021-06-18 15:02:32 +03:00
Yuri Bukhalenkov
89139a5043 renamed service 2021-05-24 17:27:46 +03:00
Sergey Yelin
79a1cfca55 ED-75: Update image (#550) 2021-03-11 13:33:30 +03:00
Andrey Fadeev
e6c9cd9769 Allow to build service without the private registry (#548) 2021-03-05 18:37:04 +03:00
dinama
f6fef9983c upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +03:00
Sergey Yelin
2b52307fde Cleanup release env (#518)
* Cleanup release env

* Fix formatter version

* Fix formatter url
2020-12-02 13:55:34 +03:00
Sergey Yelin
7752578689 Revert "Cleanup release env"
This reverts commit 128d99f9658694468e580b7ab3e7a9bde6717499.
2020-12-02 11:57:12 +03:00
Sergey Yelin
c7fb216e64 Cleanup release env 2020-12-02 11:46:25 +03:00
Sergey Yelin
f5a0978518 Update image (#511) 2020-11-27 16:48:54 +03:00
Toporkov Igor
147e1e1694 Rollback to an old image (#502) 2020-11-05 11:30:07 +03:00
Sergey Yelin
786548945f Update service erlang image (#501) 2020-11-03 10:09:21 +03:00
Sergey Yelin
57ca9a8bd5 Add prometeus (#494) 2020-10-24 09:01:20 +03:00
Andrey Fadeev
8093d04623 Try erlfmt (#479)
Co-authored-by: Sergey Yelin <elinsn@gmail.com>
2020-09-25 18:14:03 +03:00
Sergey Yelin
28fac524cc MSPF-532: Upgrade Erlang to 22.3.1 (fix rfc3339 error) (#430)
* MSPF-532: Upgrade Erlang to 22.3.1 (fix rfc3339 error)

* Fix dialyzer cache name
2020-04-20 17:34:14 +03:00
Sergey Yelin
70a10fe38a Erlang 22 (#420)
* Erlang 22

* Update jenkins
2020-02-10 14:13:32 +03:00
Sergey Yelin
f1a595f283 Force cache save in CI (#403)
* Force cache save in CI
2019-12-20 17:53:09 +03:00
Sergey Yelin
773d29ffb2 Erlang 21.3.8.7 (#381) 2019-10-23 16:44:24 +03:00
Sergey Elin
fbddb4f2d3 MSPF-467: Update erlang and deps (#334)
* MSPF-467: Update erlang and deps

* MSPF-467: Update service-erlang
2019-06-21 18:26:10 +03:00
Sergey Elin
17c9a5dc41 Upgrade to Erlang 21 (with lager) (#322)
* MSFP-433: Erlang 21 with lager
2019-05-20 14:59:29 +03:00
Andrey Fadeev
45045eef0a HG-478 Revert update to Erlang 21 (#320)
* Revert "MSFP-433: Fix badmatch in woody (#316)"

This reverts commit c9174907a2fd80b7e2d1968a8a850549ce043f62.

* Revert "Upgrade woody (#315)"

This reverts commit e1ed1624971f30142da7a82653bd2ece7616be9d.

* Revert "HG-433: Upgrade to Erlang 21 (#313)"

This reverts commit faf7d595dd6e5a04a882a09514ee29d84ae4d582.
2019-05-17 11:52:11 +03:00
Sergey Elin
c482e862bb HG-433: Upgrade to Erlang 21 (#313)
* HG-433: Upgrade build_utils
* HG-433: Upgrade base erlang image and build image
* HG-433: Upgrade machinegun
* HG-433: Upgrade libraries
* HG-433: Switch to cowboy 2.x
* HG-433: Update dmt_client
* HG-433: Switch to logger
2019-05-08 15:17:59 +03:00
Andrey Fadeev
9143bf84f1 HG-424 Do not fail outdated customer binding machine (#251) 2018-09-20 16:27:54 +03:00
Andrew Mayorov
5077bc52ed HG-314: Introduce digital wallets (#164)
* HG-314: Let it learn new payment tool and storage schema

* HG-314: Add forgotten payment tool condition assertions

* HG-314: Increase healthcheck timeouts just for the fun of it

* HG-326: Introduce new rounding rule for cashflow volume (#169)

* BA-52: Bump to master rbkmoney/damsel@620cca5

* BA-52: Bump to master rbkmoney/dominant@68d75c0
2018-01-24 16:40:54 +03:00
Timur
9978bd6bd0 From new service-erlang image (final) (#154)
* From new service-erlang image
2017-10-31 19:48:18 +03:00
Andrew Mayorov
fa3d58ba89 HG-294: Fix obsolete callback handling (#146)
* HG-294: Refactor tests a bit

* HG-294: Fix obsolete callback handling

* HG-294: Test obsolete callback in a hold payment

* HG-294: Allow to run single suite w/ Make target
2017-10-19 18:44:32 +03:00
Andrew Mayorov
e88c4b8e74 HG-219: Implement multiclaim facilities (#98)
* HG-173: changed party interface to claims (#79)

* DC-45: implemented dirty version of event batching (#92)

* DC-45: implemented dirty version of event batching

* DC-45: Make invoice machines emit changes within single event

* HG-229: Embrace new events hierarchy (#94)

* HG-229: Bump to rbkmoney/damsel@7bb67fc

* HG-229: Embrace new events hierarchy

* HG-229: Fix long time broken typespecs

* HG-229: Employ session results + further decouple sessions from payment

* HG-229: Better classify payment errors

* HG-229: Implement model splitting

* HG-229: Stuff location with something meaningful

* HG-229: Overcome a couple of rebase related issues

* HG-229: Drop event filtering facilities altogether

* HG-229: Make result more explicit

* HG-229: Lessen verbosity on cleaning up

* HG-192: Handle missing shop properly (#95)

* HG-173: fixed some shop-related asserts (#97)

* HG-219: Bump to upstream rbkmoney/damsel@b665c89
2017-07-17 16:33:57 +03:00
Artem Ocheredko
e42fb4b0a6 HG188-add user identity (#86)
* HG-188 Move to erlang 19 dialyzer and user identity access

* HG-188 Postreview refactoring
2017-05-17 11:50:18 +03:00
Andrew Mayorov
aec7c23562 Implement all the hacks (#63)
* HG-153: Implement setting transport options up for proxies

* HG-153: Reduce inpector selector during payment init

* HG-151: Implement cost range condition

* HG-151: Reimplement inspector tests using selector

* HG-138: Shitcode up a party-related selectors implementation

* HG-153: Use proxy transport options from the app env

* HG-138: Implement const predicate reduction

* HG-138: Bump to rbkmoney/damsel@61701d2

* HG-138: Bump up dominant and build image

* HG-138: Make compose more insistent on health checking

* HG-152: Bump to rbkmoney/image-service-erlang@13454a9

* HG-138: Bump up dominant again

* HG-153: Make cash range check fail upon misconfiguration
2017-02-01 21:44:07 +03:00
Igor Savchuk
1f21b50346 use damsel_erlang (#33)
* use damsel_erlang

* update dmsl
2016-10-13 22:57:59 +02:00
Anton Belyaev
3ef7408ea4 MSPF-97: update pilot config (#29)
* cpilot: ipv6 addr is preferable
* use more templates
* bump up build image
2016-10-12 10:20:22 +03:00
Anton Belyaev
dded44d94b MSPF-97: introduce containerpilot (#28) 2016-10-11 17:36:35 +03:00
Andrew Mayorov
f551cab1d1 HG-51: Payments over new protocol (#24)
* HG-51: Implement new proxy protocol, shitcode at its best

* HG-51: Refactor a bit

* HG-51: Switch to a renewed mg protocol

* HG-51: Bump to damsel upstream w/ payer contact info

* HG-51: Mention pointlessly complex payment ids in TODO list

* HG-51: Hardcode eventsink id instead

* HG-51: Update lockfile

* HG-51: Fail furiosly when callback handling ends up w/ unexpected error

* HG-51: Store less state in the session start event

* HG-51: Fail furiously on protocol errors, e.g. proxy contract violations

* HG-51: Add more TODO
2016-10-10 19:05:28 +03:00
Andrew Mayorov
d6d11ccb24 MG-16: Reimplement state processing in line with proto changes (#19)
* MG-16: Reimplement state processing in line w/ proto changes + remove some quirks

* MG-16: Update machinegun endpoints

* MG-16: Bump to the newest woody

* MG-16: Switch to a fresh machinegun container in test env
2016-08-25 15:41:23 +00:00
Anton Belyaev
5700705ae9 MSPF-66: bump up build utils (#15)
* MSPF-66: bump up to the latest build_utils
2016-08-12 16:40:18 +04:00
Andrew Mayorov
ba19d5d593 HG-48: Switch to the new stateproc protocol (#14)
* HG-48: Linting should not require compilation

* HG-48: Switch to the new stateproc protocol + introduce dynamic dispatch

* HG-47: Update TODOs

* HG-48: Fix process_signal contract

* HG-48: Update Payer construction in tests

* HG-48: Fix context handling

* HG-48: Bump damsel dep and update invoice machine accordingly

* HG-48: Bump mg_prototype service dep

* HG-48: Consolidate service specs in one place
2016-08-11 15:52:58 +00:00
Anton Belyaev
b321e8952d MSPF-73: use build_utils (#13)
* MSPF-73: use build_utils - align with the latest & greatest WoWs
2016-08-08 22:16:17 +04:00
Grigory Antsiferov
bc716ff06f * Makefile
Added $(REGISTRY) to contatiner push destination.
2016-07-18 13:54:54 +03:00
Grigory Antsiferov
aa4b765eb9 * Makefile
Docker registry changed to dr.rbkmoney.com.
2016-07-18 13:11:04 +03:00
Anton Belyaev
2318cb0144 MSPF-46: introduce scripts for Jekins CI 2.0 and new dev WoWs 2016-07-12 19:37:38 +03:00
Andrew Mayorov
2b6d52e903 HG-3: Add stubbed invoice machine and all the wiring (#2)
* HG-3: Add stubbed invoice machine and all the wiring

* HG-3: Bump damsel to a proper revision

* HG-3: Get rid of precompile hook to make submodules work

* HG-3: Add missing elvis config

* HG-3: Switch to proto fork temporarily

* HG-3: Merge dispatcher activities w/ machine behaviour

* HG-4: Switch to new proto fork temporarily

* HG-3: Avoid `submodule init` on every make invocation

* HG-3: Allow to pass datetime in both native and iso8601 format

* HG-4: Switch to new proto fork temporarily

* HG-4: Adapt to new protocol + internal & external events

* HG-3: Switch to proto fork already

* HG-21: Add containerization maketargets

* HG-4: Fix interfaces and add missing activities

* HG-4: Switch to new proto fork temporarily

* HG-6: Fix ruble currency code

* HG-4: Fix interface issues

* HG-4: Add default config

* HG-4: Switch to new proto fork temporarily

* HG-4: Start filling provider proxy interaction in

* Publish TODOs

* HG-4: Stub a provider proxy w/ settings from app env

* HG-4: Fix copypasta

* HG-4: Add dummy provider proxy, to be moved into testsuite

* HG-4: Switch to new proto fork temporarily

* HG-21: Remove nonfunctional target dependencies

* HG-4: Rename hg_action to make its objective clearer

* HG-4: Simplify interface address manipulation

* HG-4: Compile proxy related thrift files

* HG-4: Switch to new proto fork temporarily

* HG-4: Update TODOs

* HG-4: Isolate service specs and put them to the proto lib

* HG-4: Move dummy provider into the test dir

* HG-4: Fix getting events with respect to proto update

* damsel@24a247b

* HG-4: Introduce hg client + add preliminary test suite

* HG-4: Merge woody handler with invoice module

* HG-4: Fuse processor handler with machine

* HG-4: Harden the build + fix typing errors alongside

* HG-4: Add happy payment testcase + stateful client

* HG-4: Update gitignore rules with respect to wercker beta

* HG-4: Stash a couple of items into TODO

* HG-4: Make trivial behaviour for test provider(s)

* HG-4: Update elvis rules + lint tests' code

* HG-4: Make UserInfo a part of the client + simplify test code with macros

* HG-4: Cleanup dirty proxy state after testcases

* HG-4: Rename test_provider to a wider test_proxy

* HG-4: Explicitly mention requirement on manually started mgun
2016-06-15 19:10:22 +03:00
Andrey Mayorov
fedd8d9d3c Rename project 2016-04-07 14:37:34 +03:00
Petr Kozorezov
c4b4b8fce5 add project sceleton 2016-03-02 18:50:50 +03:00