osmith submitted this change.

View Change

Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved
publish-manuals-for-tags: mount all scripts

Make the whole scripts dir available instead of only scripts/manuals.
This is needed so we can access scripts/osmo-layer1-headers.sh for
building osmo-bts with more options in order to get the VTY reference
manuals.

Related: OS#7094
Change-Id: I151ab8698ffb04762329e3a624a94cc9ec9eed82
---
M scripts/manuals/publish-manuals-for-tags.sh
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/manuals/publish-manuals-for-tags.sh b/scripts/manuals/publish-manuals-for-tags.sh
index 2f0c266..e68fdd5 100755
--- a/scripts/manuals/publish-manuals-for-tags.sh
+++ b/scripts/manuals/publish-manuals-for-tags.sh
@@ -390,7 +390,7 @@
-e "OSMO_REPOSITORY=$(get_docs_dir_from_repo_name "$repo")" \
-e "PUBLISH_REF=$tag" \
-e "SSH_AUTH_SOCK=/ssh-agent" \
- -v "$OSMO_CI_DIR/scripts/manuals:/manuals" \
+ -v "$OSMO_CI_DIR/scripts:/osmo-ci-scripts" \
-v "$TEMP/src/$repo/:/build" \
-v $(readlink -f $SSH_AUTH_SOCK):/ssh-agent \
"$DOCKER_IMAGE" \
@@ -414,7 +414,7 @@

# Remove DRAFT in osmo-gsm-manuals
cd /opt/osmo-gsm-manuals/
- patch -p1 < /manuals/0001-build-set-ASCIIDOCSTYLE-to-remove-DRAFT.patch
+ patch -p1 < /osmo-ci-scripts/manuals/0001-build-set-ASCIIDOCSTYLE-to-remove-DRAFT.patch

# Build manuals
cd /build

To view, visit change 43787. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I151ab8698ffb04762329e3a624a94cc9ec9eed82
Gerrit-Change-Number: 43787
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>