A configuration organization tool.
Go to file
Felipe Monteiro ba1842c02e Tidy up collect output file names for cloned repos
This patch set tidies up collect output file names for cloned
repos. As an example, previously the output file could be named
something like tmp5ak7409aic-clcp-security-manifests.yaml -- after
this change it will be aic-clcp-security-manifests.yaml instead
which is much cleaner.

Pegleg "collect" looks at the last piece in a file path to
determine the filename to write to: [0]

This means that changing the clone path here from something like:

/tmp/tmp54d13yairship-pegleg (which will result in collection
output to tmp54d13yairship-pegleg.yaml)

To:

/tmp/tmp54d13y/airship-pegleg (which will result in collection
output to airship-pegleg.yaml)

[0] 2ea1a55a2d/pegleg/engine/site.py (L71)

Change-Id: I2198e299d392e24d376ccfa53bef57fcabf0d41b
2018-09-29 19:54:30 -04:00
doc Merge "Fix: various documentation and URL fixes" 2018-09-26 19:43:47 +00:00
images/pegleg Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
pegleg Tidy up collect output file names for cloned repos 2018-09-29 19:54:30 -04:00
site_yamls/site Check that Pegleg only considers YAML 2018-04-10 08:25:36 -05:00
src/bin/pegleg/pegleg/engine Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
tests Tidy up collect output file names for cloned repos 2018-09-29 19:54:30 -04:00
tools Enable override of terminal options for pegleg.sh 2018-09-22 11:16:06 -05:00
.dockerignore Update to UCP layout standard 2018-03-05 07:42:00 -06:00
.gitignore Allow linting policies to be selectable 2018-03-13 08:57:00 -05:00
.gitreview Update .gitreview for openstack infra 2018-05-17 19:52:49 +01:00
.zuul.yaml Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
LICENSE Initial commit 2018-01-26 15:47:15 -06:00
Makefile Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
README.rst Fix: various documentation and URL fixes 2018-09-25 11:44:57 +02:00
requirements.txt Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
setup.py Fix: various documentation and URL fixes 2018-09-25 11:44:57 +02:00
test-requirements.txt Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
tox.ini Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00

Pegleg

Doc Status

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:

  • Deckhand which provides document revision management, storage and rendering functionality upon which the rest of the Airship components rely for orchestration of infrastructure provisioning.

Further Reading

Airship.