Browse Source

Uploading the manifests requires an absolute path to collected dir

`tools/deckhand_load_yaml.sh` script from shipyard uses `docker run`
to upload the documents to deckhand, `-v` parameter to mount
the volume requires an absolute path to the directory to work
correctly.

Change-Id: Ice1d0012b6bcae9652d54f10cf65985e37ca5d77
Evgeny L 4 days ago
parent
commit
2302e53258
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      doc/source/authoring_and_deployment.rst

+ 3
- 2
doc/source/authoring_and_deployment.rst View File

@@ -710,11 +710,12 @@ Ex:
710 710
 and should otherwise be correct, barring any customizations of these
711 711
 site parameters).
712 712
 
713
-Next, run the deckhand\_load\_yaml.sh script as follows:
713
+Next, run the deckhand\_load\_yaml.sh script providing an absolute path
714
+to a directory that contains collected manifests:
714 715
 
715 716
 ::
716 717
 
717
-    sudo -E airship-shipyard/tools/deckhand_load_yaml.sh ${NEW_SITE} ${NEW_SITE}_collected
718
+    sudo -E airship-shipyard/tools/deckhand_load_yaml.sh ${NEW_SITE} $(pwd)/${NEW_SITE}_collected
718 719
 
719 720
 Estimated runtime: **3m**
720 721
 

Loading…
Cancel
Save