Skip to content

Commit b532a1c

Browse files
batuhanclaude
andcommitted
Add AI bridge to notifications
Add BridgeAI type and configure it with default notifications for dev/staging/prod deployments. Uses commit-only image tag format (no -amd64 suffix). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 22a0517 commit b532a1c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bridges.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const (
4848
BridgeHungryserv BridgeType = "hungryserv"
4949
BridgeDummy BridgeType = "dummybridge"
5050
BridgeDummyWebsocket BridgeType = "dummybridgews"
51+
BridgeAI BridgeType = "ai"
5152

5253
// Meowlnir is not a bridge, but it uses the same CI
5354
Meowlnir BridgeType = "meowlnir"
@@ -80,6 +81,7 @@ var bridgeNotifications = map[BridgeType][]BridgeUpdateNotification{
8081
BridgeGoogleVoice: defaultNotifications,
8182
BridgeLinkedIn: defaultNotifications,
8283
BridgeHungryserv: defaultNotifications,
84+
BridgeAI: defaultNotifications,
8385
BridgeDummy: {
8486
{Environment: EnvDevelopment, Channel: ChannelStable},
8587
{Environment: EnvDevelopment, Channel: ChannelStable, Bridge: BridgeDummyWebsocket},
@@ -107,6 +109,7 @@ var bridgeNotifications = map[BridgeType][]BridgeUpdateNotification{
107109
const DefaultImageTemplate = "{{.Image}}:{{.Commit}}-amd64"
108110

109111
var imageTemplateOverrides = map[BridgeType]string{
112+
BridgeAI: "{{.Image}}:{{.Commit}}",
110113
BridgeDummy: "{{.Image}}:{{.Commit}}",
111114
BridgeGroupMe: "{{.Image}}:{{.Commit}}",
112115
BridgeHungryserv: "{{.Image}}:{{.Commit}}",

0 commit comments

Comments
 (0)