feat: shallow clone Console distribution

This commit is contained in:
yellowcooln committed 2026-08-29 23:19:09 -04:00
1 parent def72a2b19
commit a6ab8bc906
4 files changed
+10 -6

No files matched your search

+2 -1
View File
@@ -71,7 +71,8 @@ if [[ "$CONSOLE_INSTALLED" == "true" ]]; then
exit 1
fi
echo "==> Creating openHop Console checkout"
git clone --branch main --single-branch "$CONSOLE_REPO_URL" "$CONSOLE_REPO_DIR"
git clone --depth 1 --single-branch --branch main --no-tags \
"$CONSOLE_REPO_URL" "$CONSOLE_REPO_DIR"
CONSOLE_CHECKOUT=true
fi
+1 -1
View File
@@ -345,7 +345,7 @@ msg_ok "manage.sh install completed"
# ── Optional openHop Console WebUI ─────────────────────────────────────────
if [[ "$INSTALL_CONSOLE" == "true" ]]; then
msg_info "Cloning openHop Console distribution repository..."
pct exec "$CTID" -- git clone --branch main --single-branch \
pct exec "$CTID" -- git clone --depth 1 --single-branch --branch main --no-tags \
"$CONSOLE_REPO" /root/pymc_console
msg_ok "Console repository cloned to /root/pymc_console"