diff --git a/bin/app-json.py b/bin/app-json.py index 0fbf1ac..32bc853 100755 --- a/bin/app-json.py +++ b/bin/app-json.py @@ -13,7 +13,7 @@ from os.path import basename, exists, expanduser from pathlib import Path from re import findall, search from shlex import split -from subprocess import check_output +from subprocess import check_output, DEVNULL from sys import exit from requests import get @@ -31,6 +31,8 @@ REPOS_TO_SKIP = ( "organising", "pyabra", "stack-ssh-deploy", + "radicle-seed-node", + "coturn" ) log = getLogger(__name__) @@ -38,10 +40,9 @@ basicConfig() log.setLevel(DEBUG) -def _run_cmd(cmd, shell=False): +def _run_cmd(cmd, shell=False, **kwargs): """Run a shell command.""" args = [split(cmd)] - kwargs = {} if shell: args = [cmd] @@ -187,7 +188,8 @@ def get_app_versions(app_path, cached_apps_json): existing_tags = [] for tag in tags: - _run_cmd(f"git checkout {tag}") + _run_cmd(f"git checkout {tag}", + stderr=DEVNULL) services_cmd = f"{YQ_PATH} e '.services | keys | .[]' compose*.yml" services = _run_cmd(services_cmd, shell=True).split()