9 Commits

Author SHA1 Message Date
670d06b7a8
chore: remove boilerplate comments 2024-09-20 22:04:20 +00:00
b5eca5326f
feat: configure dnscluster to allow multi-node
* Configure `docker-compose` to scale at least 2 nodes.
* Add script to start service with proper naming
* Create custom resolver.
  * This is not strictly necessary.
2024-09-20 21:55:51 +00:00
7420139650 feat(ci): additional code/deps/security checks (#37)
To improve `CI` quality the following checks were added:

* compile warnings
* deprecated dependencies
* insecure dependencies
* unused dependencies
* code vulnerabilities

Also, to improve `CI` execution time, dependencies checks and lining were separated from the test pipeline.

Last, but not least, to make local development easier a `Dockerfile` was created to contain any system dependencies, and targets to handle database creation and migration were added.

Reviewed-on: #37
2023-11-11 20:35:45 +00:00
34c3a3e4c2 feat: expose system metrics (#4)
Use prom_ex to expose system metrics to prometheus and create dashboards.

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #4
2022-05-03 16:19:39 +00:00
b7200555a8 feat: upgrade runtime and system dependencies (#5)
* Upgrade elixir, erlang, and postgres to their latest versions.
* Fix CI configuration, so tests are executed.
* Migrate project configuration from `Mix.Config` to `Config`.

Reviewed-on: #5
2022-04-22 15:21:25 +00:00
Joao P Dubas
cd2f062ef5 [extra-02] install and configure junit formatter
With this change it's possible to generate test report that can be used
alongside continuous integration routine.
2021-07-06 01:12:25 +00:00
Joao P Dubas
9888eebd58 [extra-02] access db using env vars
To make easier to run the app locally with docker and in CI, the
configurations were adjusted to read the database access from
environment variables:

1. POSTGRES_USER
2. POSTGRES_PASS
3. POSTGRES_HOST
2021-06-28 13:55:55 +00:00
Joao P Dubas
cebce7da42 [day-02] configure repo to use uuid type as id 2021-06-22 23:50:52 +00:00
Joao P Dubas
8658384030 [day-01] phoenix project setup
Create new phoenix project
2021-06-22 01:55:16 +00:00