Monorepo for Tangled tangled.org
6

Configure Feed

Select the types of activity you want to include in your feed.

knotserver: emit ssh command to browse CI logs

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
committer
Tangled
date (May 26, 2026, 9:08 AM +0300) commit be3052ee parent adb99944 change-id vmluwukz
+6
+1
knotserver/config/config.go
··· 44 44 Server Server `env:",prefix=KNOT_SERVER_"` 45 45 Git Git `env:",prefix=KNOT_GIT_"` 46 46 AppViewEndpoint string `env:"APPVIEW_ENDPOINT, default=https://tangled.org"` 47 + LogsHostname string `env:"LOGS_HOSTNAME, default=logs.tangled.org"` 47 48 KnotMirrors []string `env:"KNOT_MIRRORS, default=https://mirror.tangled.network"` 48 49 } 49 50
+5
knotserver/internal.go
··· 422 422 EventJson: string(eventJson), 423 423 } 424 424 425 + if h.c.LogsHostname != "" { 426 + *clientMsgs = append(*clientMsgs, "→ Browse CI logs in your terminal:") 427 + *clientMsgs = append(*clientMsgs, fmt.Sprintf(" ssh -t %s at://did:web:%s/sh.tangled.pipeline/%s", h.c.LogsHostname, h.c.Server.Hostname, event.Rkey)) 428 + } 429 + 425 430 return h.db.InsertEvent(event, h.n) 426 431 } 427 432