From 558d2d9677c819e822e14fcec320ef756f8e5ea6 Mon Sep 17 00:00:00 2001 From: tegwick Date: Tue, 10 Mar 2026 01:19:43 +0100 Subject: [PATCH] chore(makefile): remove tunnel target (moved to the-custodian state-hub) The reverse SSH tunnel is State Hub infrastructure, not infra-layer tooling. Use: cd ~/the-custodian/state-hub && make tunnel HOST=user@host Co-Authored-By: Claude Sonnet 4.6 --- Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Makefile b/Makefile index 16fa2b1..964bea0 100644 --- a/Makefile +++ b/Makefile @@ -153,11 +153,6 @@ new-host: ## Add a new host quickly: make new-host NAME=core1 TYPE=cpx11 REGION= @python3 scripts/new_host.py --name "$(NAME)" --type "$(TYPE)" --region "$(REGION)" --role "$(ROLE)" --image "$(IMG)" --user "$(USER)" @echo "✔ Added host $(NAME) to inventory/servers.yaml" -tunnel: ## Open reverse SSH tunnel: forwards local state-hub (127.0.0.1:8000) to the first host in inventory - @python3 -c "import yaml; s=yaml.safe_load(open('inventory/servers.yaml'))['servers'][0]; print(s['ssh_user']+'@'+s['ip'])" | \ - xargs -I{} ssh -R 8000:127.0.0.1:8000 {} - @echo "Tunnel closed." - remote-set: ## Set origin to your Gitea repo (GITEA/OWNER/REPO vars) git remote remove origin 2>/dev/null || true git remote add origin https://$(GITEA)/$(OWNER)/$(REPO).git