Skip to content

Commit c47ddaa

Browse files
make gen/golden-files
1 parent d9c9d17 commit c47ddaa

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

coderd/notifications/testdata/rendered-templates/smtp/PrebuildFailureLimitReached.html.golden

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ The number of failed prebuilds has reached the hard limit for template dock=
1616
er and preset particle-accelerator.
1717

1818

19+
View failed workspaces: http://test.com/workspaces?filter=3Downer:prebuilds=
20+
+status:failed+template:docker&page=3D1
21+
22+
View template version: http://test.com/templates/cern/docker/versions/angry=
23+
_torvalds
24+
1925
--bbe61b741255b6098bb6b3c1f41b885773df633cb18d2a3002b68e4bc9c4
2026
Content-Transfer-Encoding: quoted-printable
2127
Content-Type: text/html; charset=UTF-8
@@ -52,6 +58,20 @@ ong>.</p>
5258
</div>
5359
<div style=3D"text-align: center; margin-top: 32px;">
5460
=20
61+
<a href=3D"http://test.com/workspaces?filter=3Downer:prebuilds+stat=
62+
us:failed+template:docker&page=3D1" style=3D"display: inline-block; padding=
63+
: 13px 24px; background-color: #020617; color: #f8fafc; text-decoration: no=
64+
ne; border-radius: 8px; margin: 0 4px;">
65+
View failed workspaces
66+
</a>
67+
=20
68+
<a href=3D"http://test.com/templates/cern/docker/versions/angry_tor=
69+
valds" style=3D"display: inline-block; padding: 13px 24px; background-color=
70+
: #020617; color: #f8fafc; text-decoration: none; border-radius: 8px; margi=
71+
n: 0 4px;">
72+
View template version
73+
</a>
74+
=20
5575
</div>
5676
<div style=3D"border-top: 1px solid #e2e8f0; color: #475569; font-siz=
5777
e: 12px; margin-top: 64px; padding-top: 24px; line-height: 1.6;">

coderd/notifications/testdata/rendered-templates/webhook/PrebuildFailureLimitReached.json.golden

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@
99
"user_email": "bobby@coder.com",
1010
"user_name": "Bobby",
1111
"user_username": "bobby",
12-
"actions": [],
12+
"actions": [
13+
{
14+
"label": "View failed workspaces",
15+
"url": "http://test.com/workspaces?filter=owner:prebuilds+status:failed+template:docker\u0026page=1"
16+
},
17+
{
18+
"label": "View template version",
19+
"url": "http://test.com/templates/cern/docker/versions/angry_torvalds"
20+
}
21+
],
1322
"labels": {
1423
"org": "cern",
1524
"preset": "particle-accelerator",

0 commit comments

Comments
 (0)