mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-29 19:20:46 +08:00
List aws_credentials in a release
This commit is contained in:
parent
975c3413ee
commit
d345c9eeff
2 changed files with 6 additions and 1 deletions
|
@ -87,7 +87,7 @@ defmodule Livebook.Application do
|
|||
|
||||
defp setup_optional_dependencies() do
|
||||
if Livebook.Config.aws_credentials?() do
|
||||
Application.ensure_all_started(:aws_credentials)
|
||||
{:ok, _} = Application.ensure_all_started(:aws_credentials)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
5
mix.exs
5
mix.exs
|
@ -153,15 +153,20 @@ defmodule Livebook.MixProject do
|
|||
|
||||
## Releases
|
||||
|
||||
# aws_credentials has runtime: false, so explicitly add is as :load
|
||||
@release_apps [livebook: :permanent, aws_credentials: :load]
|
||||
|
||||
defp releases do
|
||||
[
|
||||
livebook: [
|
||||
applications: @release_apps,
|
||||
include_executables_for: [:unix, :windows],
|
||||
include_erts: false,
|
||||
rel_templates_path: "rel/server",
|
||||
steps: [:assemble, &remove_cookie/1]
|
||||
],
|
||||
app: [
|
||||
applications: @release_apps,
|
||||
include_erts: false,
|
||||
rel_templates_path: "rel/app",
|
||||
steps: [
|
||||
|
|
Loading…
Reference in a new issue