ci: build scripts include stacktrace

This commit is contained in:
alandefreitas
2024-08-16 12:45:32 -03:00
committed by Alan de Freitas
parent 7dd7061f3e
commit 2c9c92a20b
2 changed files with 6 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ while test $# -gt 0; do
--attribute page-boost-branch=$1 \
--attribute page-boost-ui-branch=$1 \
--attribute page-commit-id="$commit_id" \
--stacktrace \
libs.playbook.yml
elif [ "$1" = "release" ]; then
@@ -90,6 +91,7 @@ while test $# -gt 0; do
--attribute page-boost-ui-branch=master \
--attribute page-commit-id="$commit_id" \
--attribute page-boost-is-release=true \
--stacktrace \
libs.playbook.yml
elif echo "$1" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
@@ -100,6 +102,7 @@ while test $# -gt 0; do
--attribute page-boost-branch=$1 \
--attribute page-boost-ui-branch=master \
--attribute page-commit-id="$commit_id" \
--stacktrace \
"$f"
else
echo "Playbook \"$f\" does not exist"
@@ -111,6 +114,7 @@ while test $# -gt 0; do
$ANTORA_CMD --fetch \
--attribute page-boost-branch=$branch \
--attribute page-boost-ui-branch=$branch \
--stacktrace \
"$f"
done
for branch in master develop; do
@@ -118,6 +122,7 @@ while test $# -gt 0; do
$ANTORA_CMD --fetch \
--attribute page-boost-branch=$branch \
--attribute page-boost-ui-branch=$branch \
--stacktrace \
libs.playbook.yml
done
else

View File

@@ -83,5 +83,5 @@ if [ ! -d "node_modules" ] || [ "$(find package.json -prune -printf '%T@\n' | cu
fi
echo "$ANTORA_CMD" --fetch --attribute page-boost-branch="$1" --attribute page-commit-id="$commit_id" site.playbook.yml
$ANTORA_CMD --fetch --attribute page-boost-branch="$1" --attribute page-commit-id="$commit_id" site.playbook.yml
$ANTORA_CMD --fetch --attribute page-boost-branch="$1" --attribute page-commit-id="$commit_id" --stacktrace site.playbook.yml