summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/infra/config/luci-notify
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/infra/config/luci-notify')
-rw-r--r--third_party/libwebrtc/infra/config/luci-notify/email-templates/build_failure.template24
-rw-r--r--third_party/libwebrtc/infra/config/luci-notify/email-templates/cron.template33
-rw-r--r--third_party/libwebrtc/infra/config/luci-notify/email-templates/infra_failure.template24
3 files changed, 81 insertions, 0 deletions
diff --git a/third_party/libwebrtc/infra/config/luci-notify/email-templates/build_failure.template b/third_party/libwebrtc/infra/config/luci-notify/email-templates/build_failure.template
new file mode 100644
index 0000000000..dc321cbc1f
--- /dev/null
+++ b/third_party/libwebrtc/infra/config/luci-notify/email-templates/build_failure.template
@@ -0,0 +1,24 @@
+Test failure in WebRTC on {{ .Build.Builder.Builder }}
+
+<p>There was a failure on builder "{{ .Build.Builder.Builder }}".</p>
+
+<p><a href="https://ci.chromium.org/b/{{ .Build.Id }}">Full details are available here.</a></p>
+
+<table>
+ <tr>
+ <td>New status:</td>
+ <td><b><a href="https://ci.chromium.org/b/{{ .Build.Id }}">{{ .Build.Status }}</a></b></td>
+ </tr>
+ <tr>
+ <td>Previous status:</td>
+ <td>{{ .OldStatus }}</td>
+ </tr>
+ <tr>
+ <td>Created at:</td>
+ <td>{{ .Build.CreateTime | time }}</td>
+ </tr>
+ <tr>
+ <td>Finished at:</td>
+ <td>{{ .Build.EndTime | time }}</td>
+ </tr>
+</table>
diff --git a/third_party/libwebrtc/infra/config/luci-notify/email-templates/cron.template b/third_party/libwebrtc/infra/config/luci-notify/email-templates/cron.template
new file mode 100644
index 0000000000..580b7414ad
--- /dev/null
+++ b/third_party/libwebrtc/infra/config/luci-notify/email-templates/cron.template
@@ -0,0 +1,33 @@
+{{ .Build.Builder.Builder }} failed to run
+
+<p>There was a failure on builder "{{ .Build.Builder.Builder }}".</p>
+
+<p><a href="https://ci.chromium.org/b/{{ .Build.Id }}">Full details are available here.</a></p>
+
+<table>
+ <tr>
+ <td>Builder:</td>
+ <td>
+ <a href="https://ci.chromium.org/p/webrtc/builders/luci.webrtc.cron/{{ .Build.Builder.Builder }}">
+ {{ .Build.Builder.Builder }}
+ </a>
+ (<a href="https://ci.chromium.org/p/webrtc/g/cron/console">Console</a>)
+ </td>
+ </tr>
+ <tr>
+ <td>New status:</td>
+ <td><b><a href="https://ci.chromium.org/b/{{ .Build.Id }}">{{ .Build.Status }}</a></b></td>
+ </tr>
+ <tr>
+ <td>Previous status:</td>
+ <td>{{ .OldStatus }}</td>
+ </tr>
+ <tr>
+ <td>Created at:</td>
+ <td>{{ .Build.CreateTime | time }}</td>
+ </tr>
+ <tr>
+ <td>Finished at:</td>
+ <td>{{ .Build.EndTime | time }}</td>
+ </tr>
+</table>
diff --git a/third_party/libwebrtc/infra/config/luci-notify/email-templates/infra_failure.template b/third_party/libwebrtc/infra/config/luci-notify/email-templates/infra_failure.template
new file mode 100644
index 0000000000..5bedf6111a
--- /dev/null
+++ b/third_party/libwebrtc/infra/config/luci-notify/email-templates/infra_failure.template
@@ -0,0 +1,24 @@
+Infra failure in WebRTC on {{ .Build.Builder.Builder }}
+
+<p>There was a failure on builder "{{ .Build.Builder.Builder }}".</p>
+
+<p><a href="https://ci.chromium.org/b/{{ .Build.Id }}">Full details are available here.</a></p>
+
+<table>
+ <tr>
+ <td>New status:</td>
+ <td><b><a href="https://ci.chromium.org/b/{{ .Build.Id }}">{{ .Build.Status }}</a></b></td>
+ </tr>
+ <tr>
+ <td>Previous status:</td>
+ <td>{{ .OldStatus }}</td>
+ </tr>
+ <tr>
+ <td>Created at:</td>
+ <td>{{ .Build.CreateTime | time }}</td>
+ </tr>
+ <tr>
+ <td>Finished at:</td>
+ <td>{{ .Build.EndTime | time }}</td>
+ </tr>
+</table>