Compare commits

..

1 Commits

Author SHA1 Message Date
48824781eb feat: add htoprc for incus containers
All checks were successful
Build / build (pull_request) Successful in 4m10s
- htop shows offline cpus with lxd
- change htop to show cpu average (instead of all)
- add network/disk io
- update make to find images changed correctly
2025-04-26 19:26:48 +10:00

View File

@ -19,8 +19,8 @@ fi
if [ -n "$images_changes" ]; then if [ -n "$images_changes" ]; then
echo "Changes detected in images/. Running specific 'make' commands..." echo "Changes detected in images/. Running specific 'make' commands..."
# Extract unique paths for `make` commands # Extract unique image targets (keep only up to 3 directory levels)
TARGETS=$(echo "$images_changes" | sed -E 's|images/||; s|/[^/]+$||' | sort -u) TARGETS=$(echo "$images_changes" | sed -E 's|^images/([^/]+/[^/]+/[^/]+).*|\1|' | sort -u)
# Prioritize base images first # Prioritize base images first
BASE_TARGETS=$(echo "$TARGETS" | grep '/base$' || true) BASE_TARGETS=$(echo "$TARGETS" | grep '/base$' || true)