def load_projects(): """ load project definitions (docker-compose.yml files) """ global projects if git_repo: git_pull() projects = find_yml_files(GIT_YML_PATH) else: projects = find_yml_files(YML_PATH) logging.info(projects)
def load_projects(): """ load project definitions (docker-compose.yml files) """ global projects if git_repo: git_pull() projects = find_yml_files(GIT_YML_PATH) else: projects = find_yml_files(YML_PATH) logging.debug(projects)
def load_projects(sPath): """ load project definitions (docker-compose.yml files) """ projects = {} if git_repo: git_pull() projects = find_yml_files(GIT_YML_PATH) else: projects = find_yml_files(sPath) logging.info(projects) return projects