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 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 01:19:43 +01:00
parent 2634102ce2
commit 558d2d9677

View File

@@ -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)" @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" @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) remote-set: ## Set origin to your Gitea repo (GITEA/OWNER/REPO vars)
git remote remove origin 2>/dev/null || true git remote remove origin 2>/dev/null || true
git remote add origin https://$(GITEA)/$(OWNER)/$(REPO).git git remote add origin https://$(GITEA)/$(OWNER)/$(REPO).git