2d88f48989
Barbican expects storagePolicy:cleartext when accepting documents from Pegleg. Once the document is decrypted updated storagePolicy to cleartext. During genesis bundle creation, the encrypted documents are decrypted, then the whole bundle is encrypted. Once the bundle gets deployed the contained documents should all have the correct storage policy of cleartext. As a result, two unit tests are updated to no longer compare the storagePolicy, as it is expected everything going to Barbican is cleartext, but in order for Pegleg to know to encrypt the original document is storagePolicy:encrypted Change-Id: I5167ce6b3030d143d1ff0b789883529a6557eeca |
||
---|---|---|
doc | ||
images/pegleg | ||
pegleg | ||
releasenotes | ||
site_yamls/site | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.readthedocs.yaml | ||
.style.yapf | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
Pipfile | ||
Pipfile.lock | ||
README.rst | ||
requirements.txt | ||
setup.py | ||
tox.ini | ||
vcs-requirements.env |
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: