Fix resources isues 34

This commit is contained in:
2026-01-23 06:08:12 +01:00
parent d2a98b90da
commit 0ee81b9522
3 changed files with 17 additions and 8 deletions

View File

@@ -102,9 +102,12 @@ spec:
add_service "frontend"
fi
# Check for changes in shared/ directory (might affect multiple services)
# Check for changes in shared/ directory
# shared/ contains code used by services and gateway (NOT frontend), so rebuild them
if echo "$CHANGED_FILES" | grep -q '^shared/'; then
add_service "shared"
echo "Detected changes in shared/ - triggering rebuild of all services and gateway"
echo "services-and-gateway" > $(results.changed-services.path)
exit 0
fi
if [ -z "$CHANGED_SERVICES" ]; then