Fix feature flags

This commit is contained in:
Jonatan Kłosko 2023-12-19 15:14:03 +07:00
parent 39a53e5df5
commit d4aa41f5fd
4 changed files with 5 additions and 4 deletions

View file

@ -28,7 +28,7 @@ config :livebook,
app_service_name: nil,
app_service_url: nil,
authentication_mode: :token,
feature_flags: [deployment_groups: true],
feature_flags: [],
force_ssl_host: nil,
learn_notebooks: [],
plugs: [],

View file

@ -74,3 +74,5 @@ config :phoenix, :plug_init_mode, :runtime
config :livebook, :authentication_mode, :disabled
config :livebook, :data_path, Path.expand("tmp/livebook_data/dev")
config :livebook, :feature_flags, deployment_groups: true

View file

@ -12,9 +12,6 @@ config :livebook, LivebookWeb.Endpoint,
config :livebook, :iframe_port, 8081
# Disable all feature flags in production
config :livebook, :feature_flags, []
# Set log level to warning by default to reduce output
config :logger, level: :warning

View file

@ -24,6 +24,8 @@ end
config :livebook, :data_path, data_path
config :livebook, :feature_flags, deployment_groups: true
# Use longnames when running tests in CI, so that no host resolution is required,
# see https://github.com/livebook-dev/livebook/pull/173#issuecomment-819468549
if System.get_env("CI") == "true" do