
Places detailed CLI information into a separate file similar to the docs configuration of pegleg. Updates documentation to reflect new CLI changes from below link. Depends on CLI changes in https://review.openstack.org/#/c/649452/. Change-Id: Icf63cfd6f90b1565513b2c3e7fe01712db48f908
2.0 KiB
2.0 KiB
Developer Quickstart Guide
To run your first spyglass job, follow these steps from inside the airship-spyglass directory.
Install external dependencies if not already installed.
sudo apt install -y python3-pip sudo apt install -y tox
Set up an environment with tox.
tox -e py36 --notest
Enter the tox environment.
source .tox/py36/bin/activate
Install spyglass in the tox environment.
pip install -e .
Run spyglass on the example files to generate an intermediate document.
mkdir intermediate spyglass m -s airship-seaworthy -p tugboat -d intermediate \ --excel-spec spyglass/examples/excel_spec.yaml \ --excel-file spyglass/examples/SiteDesignSpec_v0.1.xlsx \ --site-configuration spyglass/examples/site_config.yaml \ --template-dir spyglass/examples/templates/
Run spyglass on the intermediate document to generate manifests.
mkdir manifest_dir spyglass mi intermediate/airship-seaworthy_intermediary.yaml \ -m manifest_dir/ -t spyglass/examples/templates/