Add notify-result exit handler to ci-pipeline, compile-and-deploy, and compile-and-train templates. Posts workflow outcome to Mattermost via incoming webhook (secret: notification-webhook). Gracefully skips if webhook URL is placeholder or missing (optional secretKeyRef). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
322 B
YAML
12 lines
322 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: notification-webhook
|
|
namespace: foxhunt
|
|
labels:
|
|
app.kubernetes.io/part-of: foxhunt
|
|
type: Opaque
|
|
stringData:
|
|
# Mattermost incoming webhook URL — update after Mattermost is deployed
|
|
webhook-url: "http://mattermost.foxhunt.svc.cluster.local:8065/hooks/PLACEHOLDER"
|