Add the drone CI/CD configuration.

This commit is contained in:
2025-03-08 22:15:55 +02:00
parent 74f4e99957
commit d4c73cb647
2 changed files with 40 additions and 3 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ config :ash, disable_async?: true
# to provide built-in test partitioning in CI environment.
# Run `mix help test` for more information.
config :decentralised_book_index, DecentralisedBookIndex.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
username: System.get_env("DATABASE_USERNAME", "postgres"),
password: System.get_env("DATABASE_PASSWORD", "postgres"),
hostname: System.get_env("DATABASE_HOSTNAME", "localhost"),
database: "decentralised_book_index_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2