You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`SLACK_WEBHOOK_URL`|_(none)_| Slack webhook URL for test failure notifications (text only) |
35
35
|`SLACK_TOKEN`|_(none)_| Slack bot token for uploading failure screenshots |
36
36
|`SLACK_CHANNEL_ID`|`C07CM4JS48H`| Slack channel ID for screenshot uploads (e.g., `C1234567890`) |
37
+
|`NC_TALK_URL`|`https://cloud.ids-mannheim.de`| Nextcloud instance URL for Talk notifications |
38
+
|`NC_TALK_CONVERSATION`|_(none)_| Nextcloud Talk conversation token for notifications |
39
+
|`NC_TALK_SECRET`|_(none)_| Nextcloud Talk bot secret for authentication |
37
40
|`LC_ALL`|_(system default)_| Locale setting (recommended: `C` for consistent results) |
38
41
39
42
### Usage Notes
@@ -54,8 +57,30 @@ Quick setup:
54
57
55
58
### Notifications
56
59
60
+
#### Slack Notifications
61
+
57
62
If you run KorAP-E2E-tests as a cronjob or in scheduled pipelines and
58
-
want to get notified about failed tests via slack, set the environment variable `SLACK_WEBHOOK_URL` to the URL of your [slack webhook](https://api.slack.com/messaging/webhooks).
63
+
want to get notified about failed tests via Slack, set the environment variable `SLACK_WEBHOOK_URL` to the URL of your [Slack webhook](https://api.slack.com/messaging/webhooks).
64
+
65
+
For screenshot uploads, also set:
66
+
67
+
-`SLACK_TOKEN`: Your Slack bot token (starts with `xoxb-`)
68
+
-`SLACK_CHANNEL_ID`: The channel ID where screenshots should be posted (e.g., `C07CM4JS48H`)
69
+
70
+
**Note**: The bot must be invited to the channel, and needs the following permissions:
71
+
72
+
-`chat:write`
73
+
-`files:write`
74
+
75
+
#### Nextcloud Talk Notifications
76
+
77
+
To receive test failure notifications in Nextcloud Talk, set these environment variables:
78
+
79
+
-`NC_TALK_URL`: Your Nextcloud instance URL (default: `https://cloud.ids-mannheim.de`)
80
+
-`NC_TALK_CONVERSATION`: The conversation/room token (e.g., `o6toyqx7`)
81
+
-`NC_TALK_SECRET`: The bot secret for authentication
82
+
83
+
The bot must be configured in your Nextcloud Talk settings with the appropriate secret.
0 commit comments