Browse Source

Update the docs to use `-r` instead of `-p` flags for pegleg

`-r` is a required parameter, it is used to specify a path
to the repository.

Change-Id: I83cca1023ba5c40e90bf3c7bbd6757e34019a331
changes/21/627421/1
Evgeny L 3 years ago
parent
commit
0a04f408d5
  1. 10
      doc/source/authoring_and_deployment.rst

10
doc/source/authoring_and_deployment.rst

@ -435,8 +435,7 @@ proceeding:
::
sudo airship-pegleg/tools/pegleg.sh lint \
-p airship-treasuremap
sudo airship-pegleg/tools/pegleg.sh -r airship-treasuremap lint
Note: ``P001`` and ``P003`` linting errors are expected for missing
certificates, as they are not generated until the next section. You may
@ -449,7 +448,7 @@ global + site type + site YAML:
::
sudo sh airship-pegleg/tools/pegleg.sh site \
-p airship-treasuremap \
-r airship-treasuremap \
collect $NEW_SITE
Perform a visual inspection of the output. If any errors are discovered,
@ -460,9 +459,8 @@ After you have an error-free output, save the resulting YAML as follows:
::
mkdir -p ~/${NEW_SITE}_collected
sudo airship-pegleg/tools/pegleg.sh site \
-p airship-treasuremap \
-r airship-treasuremap \
collect $NEW_SITE -s ${NEW_SITE}_collected
It is this output which will be used in subsequent steps.
@ -477,7 +475,7 @@ prior to submitting via Shipyard:
::
sudo airship-pegleg/tools/pegleg.sh site \
-p airship-treasuremap \
-r airship-treasuremap \
render $NEW_SITE
Inspect the rendered document for any errors. If there are errors,

Loading…
Cancel
Save