Compare commits

..
Author SHA1 Message Date
CanbiZ (MickLesk) b0797a25d4 ram 2026-11-28 20:20:34 +01:00
MickLesk 045f624dd1 TREK: 6 GB RAM for the build
The server build runs out of heap at about 3 GB, which is exactly what
setup_nodejs gives Node on a 4 GB container ("Ineffective mark-compacts
near heap limit", 8 installs and 24 update-apps runs in four weeks). On
6 GB setup_nodejs sets 4.5 GB.
2026-11-28 15:10:31 +01:00
6 changed files with 10 additions and 10 deletions

No files matched your search

+2 -2
View File
@@ -54,12 +54,12 @@ function update_script() {
if [[ -z "$SSH_PUBLIC_KEY" ]]; then
msg_error "No SSH public key provided!"
exit 64
exit 1
fi
if [[ ! "$SSH_PUBLIC_KEY" =~ ^(ssh-rsa|ssh-dss|ssh-ed25519|ecdsa-sha2-) ]]; then
msg_error "Invalid SSH public key format!"
exit 64
exit 1
fi
msg_info "Setting up SSH access"
+3 -3
View File
@@ -64,15 +64,15 @@ function update_script() {
if [[ -n "${mode:-}" ]]; then
if [[ -z "${var_forgejo_instance:-}" ]]; then
msg_error "var_forgejo_instance is required for unattended installs."
exit 64
exit 1
fi
if [[ -z "${var_forgejo_runner_uuid:-}" ]]; then
msg_error "var_forgejo_runner_uuid is required for unattended installs."
exit 64
exit 1
fi
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
msg_error "var_forgejo_runner_token is required for unattended installs."
exit 64
exit 1
fi
fi
+1 -1
View File
@@ -22,7 +22,7 @@ export var_llm_model="${var_llm_model:-}"
if [[ -n "$var_llm_base_url" && -z "$var_llm_model" ]]; then
msg_error "var_llm_model is required with var_llm_base_url."
exit 64
exit 1
fi
header_info "$APP"
+1 -1
View File
@@ -9,7 +9,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="TREK"
var_tags="${var_tags:-travel;planning;collaboration}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_ram="${var_ram:-8192}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
+2 -2
View File
@@ -25,7 +25,7 @@ fi
if [[ -z "${var_forgejo_runner_uuid:-}" ]]; then
msg_error "No runner UUID provided. Cannot continue."
exit 64
exit 1
fi
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
@@ -34,7 +34,7 @@ fi
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
msg_error "No runner registration token provided. Cannot continue."
exit 64
exit 1
fi
DEFAULT_RUNNER_LABELS="linux-amd64:docker://node:22-bookworm"
+1 -1
View File
@@ -28,7 +28,7 @@ PANGOLIN_ENDPOINT="${PANGOLIN_ENDPOINT:-${var_newt_endpoint:-}}"
if [[ -z "$NEWT_ID" || -z "$NEWT_SECRET" || -z "$PANGOLIN_ENDPOINT" ]]; then
msg_error "Newt ID, Secret and Endpoint are all required. Aborting."
exit 64
exit 1
fi
msg_info "Configuring Newt"