Commit 6889a9c1 authored by Frank Rousseau's avatar Frank Rousseau
Browse files

Attempt to fix datbase config for CI

parent e57477b6
Pipeline #74128404 passed with stage
in 4 minutes and 53 seconds
......@@ -7,7 +7,7 @@ variables:
DATABASE_NAME: gaja_test
DATABASE_HOST: postgres
DATABASE_USER: postgres
DATABASE_PASSWORD: "password"
DATABASE_PASSWORD: "postgres"
MIX_ENV: "test"
before_script:
......
......@@ -11,10 +11,10 @@ config :logger, level: :warn
# Configure your database
config :gaja, Gaja.Repo,
username: "postgres",
password: "mysecretpassword",
database: "gaja_test",
hostname: "localhost",
username: System.get_env("DATABASE_USER", "postgres"),
password: System.get_env("DATABASE_PASS", "mysecretpassword"),
database: System.get_env("DATABASE_NAME", "gaja_test"),
hostname: System.get_env("DATABASE_HOST", "localhost"),
pool: Ecto.Adapters.SQL.Sandbox
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment