Disable Pimox from default lab deployment
Homelab Main / deploy (push) Has been cancelled
Details
Homelab Main / deploy (push) Has been cancelled
Details
This commit is contained in:
parent
b35b052697
commit
9b17857e46
20
lab.sh
20
lab.sh
|
|
@ -497,7 +497,7 @@ PY
|
|||
}
|
||||
|
||||
run_pimox_pipeline() {
|
||||
local mode="${LAB_PIMOX_PIPELINE:-auto}"
|
||||
local mode="${LAB_PIMOX_PIPELINE:-false}"
|
||||
local pimox_host="${LAB_PIMOX_HOST:-${TF_VAR_pimox_host:-192.168.100.80}}"
|
||||
local pimox_user="${LAB_PIMOX_USER:-${TF_VAR_pimox_user:-jv}}"
|
||||
local pimox_key="${LAB_PIMOX_SSH_KEY_PATH:-${TF_VAR_pimox_ssh_key_path:-/home/jv/.ssh/id_ed25519}}"
|
||||
|
|
@ -2387,8 +2387,6 @@ up() {
|
|||
|
||||
deploy_gitea
|
||||
bootstrap_gitea_repo
|
||||
run_pimox_pipeline
|
||||
run_openwrt_pipeline
|
||||
run_tofu_stack "bootstrap/cluster"
|
||||
run_tofu_stack "bootstrap/platform"
|
||||
apps
|
||||
|
|
@ -2401,24 +2399,11 @@ rebuild_cluster() {
|
|||
require_debian_server "rebuild-cluster"
|
||||
|
||||
export LAB_INCLUDE_RASPBERRY_WORKER="${LAB_INCLUDE_RASPBERRY_WORKER:-false}"
|
||||
export LAB_PIMOX_PIPELINE="${LAB_PIMOX_PIPELINE:-true}"
|
||||
export LAB_PIMOX_TEMPLATE_REPLACE_EXISTING="${LAB_PIMOX_TEMPLATE_REPLACE_EXISTING:-true}"
|
||||
export LAB_PIMOX_TEMPLATE_CORES="${LAB_PIMOX_TEMPLATE_CORES:-2}"
|
||||
export LAB_PIMOX_TEMPLATE_MEMORY="${LAB_PIMOX_TEMPLATE_MEMORY:-4096}"
|
||||
export LAB_PIMOX_TEMPLATE_CPU_AFFINITY="${LAB_PIMOX_TEMPLATE_CPU_AFFINITY:-}"
|
||||
export LAB_PIMOX_WORKER_COUNT="${LAB_PIMOX_WORKER_COUNT:-2}"
|
||||
export LAB_PIMOX_SKIP_WORKER_INDEXES="${LAB_PIMOX_SKIP_WORKER_INDEXES:-}"
|
||||
export LAB_PIMOX_WORKER_REPLACE_EXISTING="${LAB_PIMOX_WORKER_REPLACE_EXISTING:-true}"
|
||||
export LAB_PIMOX_WORKER_CORES="${LAB_PIMOX_WORKER_CORES:-2}"
|
||||
export LAB_PIMOX_WORKER_MEMORY="${LAB_PIMOX_WORKER_MEMORY:-4096}"
|
||||
export LAB_PIMOX_WORKER_CPU_AFFINITIES="${LAB_PIMOX_WORKER_CPU_AFFINITIES:-}"
|
||||
export WORKER_SSH_TARGETS="${WORKER_SSH_TARGETS:-}"
|
||||
|
||||
echo "Rebuilding the Kubernetes cluster without touching external Raspberry Pi Gitea..."
|
||||
|
||||
nuke
|
||||
run_pimox_pipeline
|
||||
run_openwrt_pipeline
|
||||
run_tofu_stack "bootstrap/cluster"
|
||||
run_tofu_stack "bootstrap/platform"
|
||||
apps
|
||||
|
|
@ -2552,9 +2537,6 @@ EOF
|
|||
rm -f "${BUILDX_CONFIG}" || true
|
||||
|
||||
echo "--> Deleting OpenTofu tracking state files..."
|
||||
rm -rf "${REPO_ROOT}"/bootstrap/provisioning/terraform.tfstate*
|
||||
rm -f "${REPO_ROOT}"/bootstrap/provisioning/.terraform.tfstate.lock.info
|
||||
rm -rf "${REPO_ROOT}"/bootstrap/provisioning/.terraform/
|
||||
rm -rf "${REPO_ROOT}"/bootstrap/cluster/terraform.tfstate*
|
||||
rm -f "${REPO_ROOT}"/bootstrap/cluster/.terraform.tfstate.lock.info
|
||||
rm -rf "${REPO_ROOT}"/bootstrap/cluster/.terraform/
|
||||
|
|
|
|||
Loading…
Reference in New Issue