From 48f865ef27bfc3a2e1132b5b8b49c0f4e0a18f92 Mon Sep 17 00:00:00 2001 From: Tallys Martins Date: Tue, 3 Jul 2018 16:12:12 -0300 Subject: [PATCH] Change env variables in config (#8) - Fixed default value for RUNNER_API_URL - Added default values for RUNNER_API_USER and RUNNER_API_KEY according to values included in seed.exs from the api-server repository. Signed-off-by: Tallys Martins --- config/config.exs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.exs b/config/config.exs index d27605d..013158d 100644 --- a/config/config.exs +++ b/config/config.exs @@ -17,8 +17,8 @@ config :runner, :container_benchmars_output_path, "/var/bench" config :runner, :job_timeout, {:system, :integer, "JOB_TIMEOUT", 900_000} -config :runner, :api_user, {:system, "RUNNER_API_USER"} -config :runner, :api_key, {:system, "RUNNER_API_KEY"} -config :runner, :api_url, {:system, "RUNNER_API_URL", ["https://api.elixirbench.org/runner-api"]} +config :runner, :api_user, {:system, "RUNNER_API_USER", "test-runner"} +config :runner, :api_key, {:system, "RUNNER_API_KEY", "test"} +config :runner, :api_url, {:system, "RUNNER_API_URL", "https://api.elixirbench.org/runner-api"} config :logger, level: :info