merge: updates from upstream
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
João Paulo Dubas 2024-07-08 21:55:02 +00:00
commit 3914bd5240
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -11,11 +11,13 @@ steps:
- name: database healthcheck
image: &postgres 'postgres:16.3-alpine'
environment:
PGUSER: postgres
PGPASSWORD: postgres
PGHOST: db
PGUSER: &db_user postgres
PGPASSWORD: &db_pass postgres
PGHOST: &db_host db
commands:
- while ! pg_isready; do sleep 1; done
depends_on:
- 'db'
- name: restore cache
image: &drone_cache 'meltwater/drone-cache:v1.4.0'
@ -49,14 +51,16 @@ steps:
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix compile --force --all-warnings --warnings-as-errors
volumes: *volumes
depends_on:
- 'restore cache'
- name: test
image: *elixir
environment:
MIX_ENV: test
POSTGRES_HOST: &db_host db
POSTGRES_USER: &db_user postgres
POSTGRES_PASS: &db_pass postgres
POSTGRES_HOST: *db_host
POSTGRES_USER: *db_user
POSTGRES_PASS: *db_pass
commands:
- apt-get update
- apt-get install -y git make