![]() This patch set fixes an issue where currently -r flag won't work with remote repository URLs. site_repository.process_repositories will blow up with an error (for example): Error: https://github.com/openstack/airship-treasuremap/site/ airship-seaworthy/site-definition.yaml not found. Pegleg must be run from the root of a configuration repository. It is apparent that the URL should not be treated as a local path which is what is happening behind the scenes with this bug. Also, CLI unit tests are added to validate the intended behavior. They will be expanded on in future patch sets. Change-Id: I618465841f1e455c8f00f046b3c5d22348b99396 |
||
---|---|---|
doc | ||
images/pegleg | ||
pegleg | ||
site_yamls/site | ||
src/bin/pegleg/pegleg/engine | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.rst | ||
requirements.txt | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Pegleg
Introduction
Pegleg is a document aggregator that provides early linting and validations via Deckhand, a document management micro-service within Airship.
Pegleg supports local and remote Git repositories. Remote repositories can be cloned using a variety of protocols -- HTTP(S) or SSH. Afterward, specific revisions within those repositories can be checked out, their documents aggregated, linted, and passed to the rest of Airship for orchestration, allowing document authors to manage their site definitions using version control.
Find more documentation for Pegleg on Read the Docs.
Core Responsibilities
- aggregation - Aggregates all documents required for site deployment across multiple Git repositories, each of which can be used to maintain separate document sets in isolation
- linting - Configurable linting checks documents for common syntactical and semantical mistakes
Getting Started
For more detailed installation and setup information, please refer to the Getting Started guide.
Integration Points
Pegleg has the following integration points: