Remove service image overrides from kustomization - use base manifest tags [skip ci]
This commit is contained in:
@@ -235,17 +235,19 @@ spec:
|
||||
echo "==================================================================="
|
||||
|
||||
# Set result based on outcome
|
||||
# IMPORTANT: Use echo -n (no newline) to avoid trailing newline in results
|
||||
# Trailing newlines cause Tekton when expressions to fail matching
|
||||
if [ "$FAILED_COUNT" -gt 0 ]; then
|
||||
if [ "$SUCCESS_COUNT" -gt 0 ]; then
|
||||
echo "partial" > $(results.build-status.path)
|
||||
echo -n "partial" > $(results.build-status.path)
|
||||
echo "Build completed with some failures"
|
||||
else
|
||||
echo "failed" > $(results.build-status.path)
|
||||
echo -n "failed" > $(results.build-status.path)
|
||||
echo "All builds failed!"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "success" > $(results.build-status.path)
|
||||
echo -n "success" > $(results.build-status.path)
|
||||
echo "All builds completed successfully!"
|
||||
fi
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user