Add a little more logging, fix typo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2021-04-05 00:06:43 +02:00
parent 703889d4ea
commit 699c4e76d5
1 changed files with 4 additions and 1 deletions

View File

@ -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"