Go to file
2024-04-22 11:01:14 +03:00
.github TD-788: Adds setup for woody prometheus collectors (#23) 2024-04-19 13:26:38 +03:00
apps/bender TD-788: Fixes woody/prometheus start order (#24) 2024-04-22 11:01:14 +03:00
config TD-788: Adds setup for woody prometheus collectors (#23) 2024-04-19 13:26:38 +03:00
test/machinegun TD-686: Adopts opentelemetry API (#20) 2023-10-24 13:46:55 +03:00
.editorconfig Add GitHub actions (#1) 2022-04-28 11:42:34 +03:00
.env TD-222: Reuse valitydev/action-deploy-docker@v2 (#16) 2022-07-12 15:53:51 +03:00
.gitignore Add GitHub actions (#1) 2022-04-28 11:42:34 +03:00
compose.tracing.yaml TD-686: Adopts opentelemetry API (#20) 2023-10-24 13:46:55 +03:00
compose.yaml TD-686: Adopts opentelemetry API (#20) 2023-10-24 13:46:55 +03:00
Dockerfile OPS-268: Adds default logger permissions (#18) 2023-07-13 15:30:17 +03:00
Dockerfile.dev Add GitHub actions (#1) 2022-04-28 11:42:34 +03:00
elvis.config Add GitHub actions (#1) 2022-04-28 11:42:34 +03:00
LICENSE 🔄 Synced file(s) with valitydev/configurations (#4) 2022-04-28 12:45:58 +03:00
Makefile TD-686: Adopts opentelemetry API (#20) 2023-10-24 13:46:55 +03:00
README.md Add GitHub actions (#1) 2022-04-28 11:42:34 +03:00
rebar.config TD-686: Adopts opentelemetry API (#20) 2023-10-24 13:46:55 +03:00
rebar.lock TD-788: Adds setup for woody prometheus collectors (#23) 2024-04-19 13:26:38 +03:00
renovate.json Add renovate.json (#5) 2022-04-28 14:16:10 +03:00

bender

Service for binding external IDs to internal IDs

Building

To build the project, run the following command:

$ make compile

Running

To enter the Erlang shell with the project running, run the following command:

$ make rebar-shell

Development environment

Run in a docker container

You can run any of the tasks defined in the Makefile from inside of a docker container (defined in Dockerfile.dev) by prefixing the task name with wc-. To successfully build the dev container you need Docker BuildKit enabled. This can be accomplished by either installing docker-buildx locally, or exporting the DOCKER_BUILDKIT=1 environment variable.

Example

  • This command will run the compile task in a docker container:
$ make wc-compile

Run in a docker-compose environment

Similarly, you can run any of the tasks defined in the Makefile from inside of a docker-compose environment (defined in docker-compose.yaml) by prefixing the task name with wdeps-. To successfully build the dev container you need Docker BuildKit enabled (see Run in a docker container section). It may also be necessary to export a COMPOSE_DOCKER_CLI_BUILD=1 environment variable for docker-compose container builds to work properly.

Example

  • This command will run the test task in a docker-compose environment:
$ make wdeps-test