This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 5e43dde8cc98439b2085af03232ff06b97971827 Author: Dan Haywood <[email protected]> AuthorDate: Tue Jul 8 15:37:47 2025 +0100 CAUSEWAY-3882 : fix for memory limit of antora --- scripts/ci/_adoc-antora.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scripts/ci/_adoc-antora.sh b/scripts/ci/_adoc-antora.sh index 1617ec905fe..c65f2a19659 100644 --- a/scripts/ci/_adoc-antora.sh +++ b/scripts/ci/_adoc-antora.sh @@ -48,17 +48,20 @@ if [ -z "$REVISION" ]; then export REVISION="SNAPSHOT" fi -if [ -z "$ANTORA_CMD" ]; then - ANTORA_CMD=$(command -v antora 2>/dev/null) - if [ -z "$ANTORA_CMD" ]; then -# ANTORA_CMD=$(npm bin)/antora #fails with unknown command 'bin' on ubuntu ... our CI build env - ANTORA_CMD="npx antora" - fi -fi +#if [ -z "$ANTORA_CMD" ]; then +# ANTORA_CMD=$(command -v antora 2>/dev/null) +# if [ -z "$ANTORA_CMD" ]; then +## ANTORA_CMD=$(npm bin)/antora #fails with unknown command 'bin' on ubuntu ... our CI build env +# ANTORA_CMD="npx antora" +# fi +#fi +ANTORA_CMD="npx antora" echo "running antora ..." echo "$ANTORA_CMD --redirect-facility static --stacktrace $PLAYBOOK" +export NODE_OPTIONS="--max-old-space-size=4096" $ANTORA_CMD --redirect-facility static --stacktrace $PLAYBOOK +exit 0 # clean up rm $PLAYBOOK
