fb5d54fdb9
Decrypt command was previously requiring that specified files have in their paths the site name. This isn't necessarily always the case for example we can have global files that need to be decrypted and do not contain the site name in the filepath, but the site name is relevant in ensuring based on the site-definition.yaml file that pegleg uses the correct revision of the global repository. The end result should be that when decrypting a file, we specify the site name, pegleg ensures we're on correct revisions of the repos and if the file exists, decrypt and print to stdout This patch addresses this by: 1. Updating pegleg.engine.secrets.decrypt to no longer require a site name. 2. Updating pegleg.cli.decrypt to no longer pass a site name to pegleg.engine.secrets.decrypt 3. Updating documentation for CLI. 4. Updating unit tests for CLI and secrets. Change-Id: Ia97518b06a58b069a4d6c0b8d68a37f45e5d31bb |
||
---|---|---|
doc | ||
images/pegleg | ||
pegleg | ||
releasenotes | ||
site_yamls/site | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.style.yapf | ||
.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: