feat: generate golden files for notification templates (#14537)

This commit is contained in:
Marcin Tojek
2024-09-04 18:26:57 +02:00
committed by GitHub
parent bcf9bc3c90
commit e6d8f674ad
27 changed files with 97 additions and 15 deletions
@@ -0,0 +1,3 @@
Hi Bobby
The template **bobby-template** was deleted by **rob**.
@@ -0,0 +1 @@
Template "bobby-template" deleted
@@ -0,0 +1,2 @@
Hi Bobby,
User account **bobby** has been activated.
@@ -0,0 +1 @@
User account "bobby" activated
@@ -0,0 +1,3 @@
Hi Bobby,
New user account **bobby** has been created.
@@ -0,0 +1 @@
User account "bobby" created
@@ -0,0 +1,3 @@
Hi Bobby,
User account **bobby** has been deleted.
@@ -0,0 +1 @@
User account "bobby" deleted
@@ -0,0 +1,2 @@
Hi Bobby,
User account **bobby** has been suspended.
@@ -0,0 +1 @@
User account "bobby" suspended
@@ -0,0 +1,3 @@
Hi Bobby
Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).
Reason for update: **template now includes catnip**
@@ -0,0 +1 @@
Workspace "bobby-workspace" updated automatically
@@ -0,0 +1,3 @@
Hi Bobby
Automatic build of your workspace **bobby-workspace** failed.
The specified reason was "**autostart**".
@@ -0,0 +1 @@
Workspace "bobby-workspace" autobuild failed
@@ -0,0 +1,4 @@
Hi Bobby
Your workspace **bobby-workspace** was deleted.
The specified reason was "**autodeleted due to dormancy (autobuild)**".
@@ -0,0 +1 @@
Workspace "bobby-workspace" deleted
@@ -0,0 +1,5 @@
Hi Bobby
Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.
Dormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.
To prevent deletion, use your workspace with the link below.
@@ -0,0 +1 @@
Workspace "bobby-workspace" marked as dormant
@@ -0,0 +1,4 @@
Hi Bobby,
A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).
The workspace build was initiated by **joe**.
@@ -0,0 +1 @@
Workspace "bobby-workspace" manual build failed
@@ -0,0 +1,4 @@
Hi Bobby
Your workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.
To prevent deletion, use your workspace with the link below.
@@ -0,0 +1 @@
Workspace "bobby-workspace" marked for deletion
@@ -0,0 +1,2 @@
Hi Bobby,
Your account **bobby** has been activated.
@@ -0,0 +1 @@
Your account "bobby" has been activated
@@ -0,0 +1,2 @@
Hi Bobby,
Your account **bobby** has been suspended.
@@ -0,0 +1 @@
Your account "bobby" has been suspended