Skip to content

Commit

Permalink
moves SC_BOOT_MODE up
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 31, 2024
1 parent 1e4dc4d commit 4d3ebfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pydantic import Field, PositiveInt

from .base import BaseCustomSettings
from .basic_types import BuildTargetEnum
from .basic_types import BootMode, BuildTargetEnum


class BaseApplicationSettings(BaseCustomSettings):
Expand All @@ -16,6 +16,7 @@ class BaseApplicationSettings(BaseCustomSettings):
SC_VCS_URL: str | None = None

# @Dockerfile
SC_BOOT_MODE: BootMode | None = None
SC_BOOT_TARGET: BuildTargetEnum | None = None
SC_HEALTHCHECK_TIMEOUT: PositiveInt | None = Field(
default=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from models_library.api_schemas_catalog.services_specifications import (
ServiceSpecifications,
)
from models_library.basic_types import BootModeEnum, LogLevel
from models_library.basic_types import LogLevel
from models_library.services_resources import ResourcesDict, ResourceValue
from pydantic import AliasChoices, ByteSize, Field, PositiveInt, TypeAdapter
from settings_library.application import BaseApplicationSettings
Expand Down Expand Up @@ -43,7 +43,6 @@ def base_url(self) -> str:


class ApplicationSettings(BaseApplicationSettings, MixinLoggingSettings):
SC_BOOT_MODE: BootModeEnum | None
CATALOG_LOG_LEVEL: LogLevel = Field(
LogLevel.INFO.value,
validation_alias=AliasChoices("CATALOG_LOGLEVEL", "LOG_LEVEL", "LOGLEVEL"),
Expand Down

0 comments on commit 4d3ebfc

Please sign in to comment.