Fix formatting for airsloop guide

* Fix todo formatting not to break lines.
* Fix command snippets formatting to use blocks.
* Prefix run of `tools/airship` with `./`.

Change-Id: I80b1608e6e8b7224b6a71abfcc00a8127cc629ba
This commit is contained in:
Evgeny L 2019-04-26 16:24:26 +00:00 committed by Kaspars Skels
parent 855a83b2ee
commit b3ac9a9069
1 changed files with 27 additions and 15 deletions

View File

@ -181,29 +181,41 @@ TODO: Add the prerequisite steps that the user needs to do
1. Collect manifests
`tools/airship pegleg site -r /target collect airsloop -s collect`
.. code-block:: bash
./tools/airship pegleg site -r /target collect airsloop -s collect
2. Generate certs
`tools/airship promenade generate-certs -o /target/certs /target/collect/*.yaml`
.. code-block:: bash
./tools/airship promenade generate-certs -o /target/certs /target/collect/*.yaml
3. Generate genesis.sh scipt
`tools/airship promenade build-all -o /target/bundle /target/collect/*.yaml /target/certs/*.yaml`
.. code-block:: bash
./tools/airship promenade build-all -o /target/bundle /target/collect/*.yaml /target/certs/*.yaml
4. Execute the genesis.sh script
- `cd /target/bundle`
- `./genesis.sh`
.. code-block:: bash
cd /target/bundle
./genesis.sh
If the genesis.sh script completed succesfully
5. Deploy site through shipyard
- `tools/airship shipyard create configdocs design --directory=/target/collect`
- `tools/airship shipyard commit configdocs`
- `tools/airship shipyard create action deploy_site`
.. code-block:: bash
./tools/airship shipyard create configdocs design --directory=/target/collect
./tools/airship shipyard commit configdocs
./tools/airship shipyard create action deploy_site
6. Check the actions that are already created
`tools/shipyard get actions`
.. code-block:: bash
./tools/shipyard get actions