def repo(*, site_repository, clone_path, repo_key, repo_username): """Group for repo-level actions, which include: * lint: lint all sites across the repository """ pegleg_main.run_config(site_repository, clone_path, repo_key, repo_username, [], run_umask=True)
def type(*, site_repository, clone_path, extra_repositories, repo_key, repo_username): """Group for repo-level actions, which include: * list: list all types across the repository """ pegleg_main.run_config(site_repository, clone_path, repo_key, repo_username, extra_repositories or [], run_umask=False)
def site(*, site_repository, clone_path, extra_repositories, repo_key, repo_username, decrypt_repos): """Group for site-level actions, which include: * list: list available sites in a manifests repo * lint: lint a site along with all its dependencies * render: render a site using Deckhand * show: show a site's files """ pegleg_main.run_config(site_repository, clone_path, repo_key, repo_username, extra_repositories or [], run_umask=True, decrypt_repos=decrypt_repos)
def setup(self): pegleg_main.run_config(self.treasuremap_path, None, None, None, [], True, False) pegleg_main.run_encrypt('zuul-tester', None, self.site_name)