Add a little more logging, fix typo
This commit is contained in:
parent
703889d4ea
commit
699c4e76d5
@ -88,6 +88,7 @@ def clone_all_apps():
|
||||
continue
|
||||
|
||||
if not exists(f"{CLONES_PATH}/{name}"):
|
||||
log.info(f"Retrieving {url}")
|
||||
_run_cmd(f"git clone {url} {CLONES_PATH}/{name}")
|
||||
|
||||
chdir(f"{CLONES_PATH}/{name}")
|
||||
@ -95,6 +96,8 @@ def clone_all_apps():
|
||||
log.info(f"Guessing main branch is HEAD for {name}")
|
||||
_run_cmd("git checkout main")
|
||||
else:
|
||||
log.info(f"Updating {name}")
|
||||
chdir(f"{CLONES_PATH}/{name}")
|
||||
_run_cmd("git fetch -a")
|
||||
|
||||
|
||||
@ -203,7 +206,7 @@ def get_app_versions(app_path, cached_apps_json):
|
||||
continue
|
||||
|
||||
if service in parsed_services:
|
||||
log.info(f"Skipped {service} asa we've already parsed it locally")
|
||||
log.info(f"Skipped {service}, we've already parsed it locally")
|
||||
continue
|
||||
|
||||
services_cmd = f"{YQ_PATH} e '.services.{service}.image' compose*.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user