Merge pull request #81 from nilshamerlinck/fix_kubefiles_path
[FIX] kubefiles_path
This commit is contained in:
commit
545d44e944
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ class BuildSettings(BaseModel):
|
|||
template_vars: dict[str, str] = {}
|
||||
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
|
||||
)
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ class Settings(BaseSettings):
|
|||
disable_commit_statuses: bool = False
|
||||
|
||||
validate_build_default_kubefiles_path = validator(
|
||||
"build_default_kubefiles_path", allow_reuse=True
|
||||
"build_default_kubefiles_path", allow_reuse=True, pre=True
|
||||
)(validate_path)
|
||||
|
||||
def get_build_settings(self, repo: str, target_branch: str) -> list[BuildSettings]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue