mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-10-30 19:51:59 +01:00
feat: shallow clone Console distribution
This commit is contained in:
1 parent
def72a2b19
commit
a6ab8bc906
4 files changed
+10
-6
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user