def cli(ctx, repo_root, repo_uri, source_branch, verbose): """aswfdocker is a command line interface to build ASWF Docker packages and ci images """ if verbose: logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.INFO) ctx.obj = aswfinfo.ASWFInfo( repo_uri=repo_uri, source_branch=source_branch, repo_root=os.path.abspath(repo_root), )
def setUp(self): self.maxDiff = None self.build_info = aswfinfo.ASWFInfo( repo_uri="notauri", source_branch="testing", aswf_version="2019.123" )