[FIX] kubefiles_path
This commit is contained in:
parent
fc94a620c2
commit
ec7f1150b7
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ class BuildSettings(BaseModel):
|
||||||
template_vars: dict[str, str] = {}
|
template_vars: dict[str, str] = {}
|
||||||
kubefiles_path: Path | None
|
kubefiles_path: Path | None
|
||||||
|
|
||||||
validate_kubefiles_path = validator("kubefiles_path", allow_reuse=True)(
|
validate_kubefiles_path = validator("kubefiles_path", allow_reuse=True, pre=True)(
|
||||||
validate_path
|
validate_path
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -84,7 +84,7 @@ class Settings(BaseSettings):
|
||||||
disable_commit_statuses: bool = False
|
disable_commit_statuses: bool = False
|
||||||
|
|
||||||
validate_build_default_kubefiles_path = validator(
|
validate_build_default_kubefiles_path = validator(
|
||||||
"build_default_kubefiles_path", allow_reuse=True
|
"build_default_kubefiles_path", allow_reuse=True, pre=True
|
||||||
)(validate_path)
|
)(validate_path)
|
||||||
|
|
||||||
def get_build_settings(self, repo: str, target_branch: str) -> list[BuildSettings]:
|
def get_build_settings(self, repo: str, target_branch: str) -> list[BuildSettings]:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue