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
This commit is contained in:
Evgeny L 2019-04-15 16:28:34 +00:00
parent a29d85253c
commit 2302e53258
1 changed files with 3 additions and 2 deletions

View File

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