dev #10

Merged
李衍志523370910113 merged 238 commits from dev into master 2025-03-05 16:20:39 +08:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit fc435027de - Show all commits

View File

@ -28,7 +28,7 @@ def convert(repo_conf: repo.Config, task_conf: task.Config) -> result.Config:
)
# Construct healthcheck stage
healthcheck_stage = getHealthcheckConfig(repo_conf, task_conf)
healthcheck_stage = getHealthcheckConfig(repo_conf)
result_conf.stage.stages.append(healthcheck_stage)
jon-lee marked this conversation as resolved Outdated

Make this Path.home() default to /home/tt. For now, create a const for this dir.

Make this `Path.home()` default to `/home/tt`. For now, create a const for this dir.

fixed

fixed
cached: list[str] = []
# Convert each stage in the task configuration

View File

@ -48,7 +48,7 @@ def getHealthcheckCmd(repo_conf: Repo) -> Cmd:
else:
immutable_files = immutable_files + name + ","
# FIXME: need to make solution and make things easier to edit with global scope
chore = f"/tmp/repo-health-checker -root=. "
chore = f"./repo-health-checker -root=. "
args = ""
args = args + chore
args = args + repo_size
@ -63,14 +63,14 @@ def getHealthcheckCmd(repo_conf: Repo) -> Cmd:
args=args.split(),
# FIXME: easier to edit within global scope
copy_in={
f"/tmp/repo-health-checker": result.CmdFile(src=f"/tmp/repo-health-checker")
f"./repo-health-checker": result.CmdFile(src=f"./repo-health-checker")
},
)
return cmd
def getHealthcheckConfig(repo_conf: Repo, task_conf: Task) -> Stage:
healthcheck_stage = Stage(
def getHealthcheckConfig(repo_conf: repo.Config) -> result.StageDetail:
healthcheck_stage = result.StageDetail(
name="healthcheck",
group="",
executor=ExecutorConfig(