fix: ensure java image build failures stop the build (#4531)

---------
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2026-01-06 11:43:51 -05:00
committed by GitHub
parent 3ea6a03cd0
commit ed339e4fed
10 changed files with 15 additions and 19 deletions
+4 -1
View File
@@ -373,6 +373,9 @@ tasks:
# this will look for `test-fixtures/Makefile` and invoke the `fixtures` target to generate any and all test fixtures
cmds:
- |
# we want to stop on the first build error
set -e
BOLD='\033[1m'
YELLOW='\033[0;33m'
RESET='\033[0m'
@@ -381,7 +384,7 @@ tasks:
for dir in $(find . -type d -name 'test-fixtures'); do
if [ -f "$dir/Makefile" ]; then
echo -e "${YELLOW}${BOLD}generating fixtures in $dir${RESET}"
(make -C "$dir" fixtures)
make -C "$dir" fixtures
fi
done
echo -e "${BOLD}generated all fixtures${RESET}"