diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-26 13:59:27 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-26 13:59:27 +0000 |
commit | 006b2c12cf658ea71ea2e0c4ca105041c2834569 (patch) | |
tree | d3c24da6782f80c4043ba5f59241107f73850b1e /lib/matrix_app_service/application.ex | |
parent | allow runtime configuration of homserver token (diff) | |
parent | Improve CI (diff) |
Merge branch '8-improve-ci' into 'master'
Improve CI
Closes #8.
- change image to `bitwalker/alpine-elixir:1.10.4`
- 5 stages, 2 sequences in parallel: 1 cache for dev, 1 for test
- 2 artifacts for reports
- 1 artifact for dialyzer PLT (cache as artifact so that it still caches on fail)
See merge request kazarma/matrix_app_service.ex!9
Diffstat (limited to 'lib/matrix_app_service/application.ex')
-rw-r--r-- | lib/matrix_app_service/application.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/matrix_app_service/application.ex b/lib/matrix_app_service/application.ex index 408d5ab..df9acab 100644 --- a/lib/matrix_app_service/application.ex +++ b/lib/matrix_app_service/application.ex @@ -49,15 +49,15 @@ defmodule MatrixAppService.Application do :ok end - def start_endpoint?() do + def start_endpoint? do Application.get_env(:matrix_app_service, :internal_supervisor, false) end - def start_repo?() do + def start_repo? do Application.get_env(:matrix_app_service, :internal_repo, false) end - def endpoint_config() do + def endpoint_config do [ transaction_adapter: Application.fetch_env!(:matrix_app_service, :transaction_adapter), room_adapter: Application.fetch_env!(:matrix_app_service, :room_adapter), |