Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/blobserve/telepresence.sh
2492 views
1
#!/bin/bash
2
3
if [ "$1" == "dbg-intp" ]; then
4
echo "starting delve"
5
dlv debug --listen=127.0.0.1:32991 --headless --api-version=2 github.com/gitpod-io/gitpod/registry-facade -- run -v /tmp/c/mnt/config/config.json
6
exit $?
7
fi
8
if [ "$1" == "intp" ]; then
9
echo "starting process"
10
go run main.go run -v /tmp/c/mnt/config/config.json
11
exit $?
12
fi
13
14
telepresence --mount /tmp/c --swap-deployment registry-facade --method vpn-tcp --run "$0" dbg-intp
15
16