Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 4f68180

Browse files
greyscaledKatie Horne
andauthored
hotfix: Templates language [ch14098] (#466)
* hotfix: Templates language [ch14098] This implements task 2 (documentation) for normalizing the language around workspace templates. Details: * Rename workspaces-as-code directory to workspace-templates * Replace WAC and Workspaces as code with workspace templates Co-authored-by: Katie Horne <katie@coder.com>
1 parent ea9970a commit 4f68180

File tree

14 files changed

+82
-82
lines changed

14 files changed

+82
-82
lines changed

admin/templates.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
title: Templates
3-
description: Learn how to manage your workspaces as code templates.
3+
description: Learn how to manage your workspace templates.
44
---
55

6-
The **Templates** tab features options that control the behavior of workspace
7-
templates, which are the basis of [workspaces as code](../workspaces/workspaces-as-code/index.md).
6+
The **Templates** tab features options that control the behavior of
7+
[workspace templates](../workspaces/workspace-templates/index.md).
88

9-
## Enabling workspaces as code
9+
## Enabling workspace templates
1010

11-
By default, workspaces as code is an opt-in feature. The **Enable using
11+
By default, workspace templates is an opt-in feature. The **Enable using
1212
Workspace Templates** toggle allows you to enable or disable the creation of
1313
[workspaces](../workspaces/index.md) using predefined templates located in Git
1414
repositories.
1515

16-
To enable workspaces as code, go to **Admin > Templates** and set **Enable using
17-
Workspace Templates** to **On**.
16+
To enable workspace templates, go to **Admin > Templates** and set **Enable
17+
using Workspace Templates** to **On**.
1818

19-
![Toggle workspaces as code](../assets/admin/wac_toggle.png)
19+
![Toggle workspace templates](../assets/admin/wac_toggle.png)
2020

2121
## Template policy
2222

@@ -82,7 +82,7 @@ defined by the template policy.
8282
8383
The **Embeddable Button** section features a form you can use for generating an
8484
embeddable button. This button makes it easy for developers to use your
85-
[workspace template](../workspaces/workspaces-as-code/index.md).
85+
[workspace template](../workspaces/workspace-templates/index.md).
8686
8787
To create your button:
8888

changelog/1.17.2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ There are no breaking changes in 1.17.2.
99

1010
### Features ✨
1111

12-
- Workspaces as code (**WAC**): Workspaces as code (WAC) brings the
13-
_infrastructure as code_ paradigm to Coder environments. WAC allows you to
14-
define and create new environments using **workspace templates**.
12+
- Workspace templates: Workspace templates brings the _infrastructure as code_
13+
paradigm to Coder environments by allowing you to define and create new
14+
environments using YAML templates.
1515
- web: New page available via **Admin** > **Templates** for creating an
1616
embeddable quickstart button.
1717
- web: New options available when clicking **New Environment** from the

changelog/1.17.3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ description: "Released on 04/09/2021"
1010
1111
### Breaking changes ❗
1212

13-
- infra: Removed `tolerations` from workspaces as code templates.
13+
- infra: Removed `tolerations` from workspace templates.
1414

1515
### Features ✨
1616

17-
- web: Added a toggle to enable/disable workspaces as code on the **Manage >
18-
Admin > Templates** page. Disabling workspaces as code has the following
17+
- web: Added a toggle to enable/disable workspace templates on the **Manage >
18+
Admin > Templates** page. Disabling workspace templates has the following
1919
impact:
2020
- New workspaces cannot be created from a template.
2121
- Existing workspaces built from a template will continue to operate and may

changelog/1.18.0.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ description: "Released on 04/21/2021"
1111

1212
### Features ✨
1313

14-
- web: Added the ability to specify a workspaces as code template filepath other
15-
than the default _coder.yaml_
14+
- web: Added the ability to specify a workspace templates filepath other than
15+
the default _coder.yaml_
1616
- web: Moved _built-in_ sign-in behind a toggle so that it does not display when
1717
OIDC is configured for authentication
1818
- web: Updated color scheme on the sign-in page
19-
- web: Added dev URL support in workspaces as code templates
20-
- web: Added admin toggle for workspaces as code feature
21-
- web: Added Bitbucket Server support for workspaces as code
19+
- web: Added dev URL support in workspace templates
20+
- web: Added admin toggle for workspace templates feature
21+
- web: Added Bitbucket Server support for workspace templates
2222
- infra: Added `CODER_WP_NAME` environment variable to workspaces
2323
- cli: Added ability to cordon and uncordon workspace providers which will
2424
allow/disallow new workspaces from being provisioned on a specific provider
2525
- cli: Added ability to rename workspace providers
2626
- web: Improved error notifications with additional details and resolutions.
27-
Added _Tip_, _Error Type_, and enumerations for workspaces as code errors.
27+
Added _Tip_, _Error Type_, and enumerations for workspace templates errors.
2828
- infra: Added a background job to update templates
2929
- web: Added a workspace status indicator in the **Switch Workspace** selector
3030
- web: Added a tooltip with an error message for workspace status indicators
@@ -39,8 +39,8 @@ description: "Released on 04/21/2021"
3939
**Open in Coder** buttons
4040
- web: Fixed the inability to delete an empty organization while workspaces were
4141
awaiting deletion in the background
42-
- web: Improved error messages regarding attempts to import a workspaces as code
43-
template from a repository using an SSH URI
42+
- web: Improved error messages regarding attempts to import a workspace template
43+
from a repository using an SSH URI
4444
- infra: Fixed a bug that had allowed updates to be made to workspaces created
4545
from local template
4646

changelog/1.19.0.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ description: "Released on 05/19/2021"
88
- infra: Workspace assets created by Coder that were previously located at
99
`/opt/coder`, such as code-server and coder-cli, have been moved to
1010
`/var/tmp/coder`
11-
- infra: Workspaces as code templates have been updated from version _0.1_ to
12-
_0.2_. Existing workspaces using version _0.1_ templates can be rebuilt,
13-
but no new workspaces can be created using the old format.
14-
- web: The workspace as code _Open in Coder_ embeddable button flow no longer
11+
- infra: Workspace templates have been updated from version _0.1_ to _0.2_.
12+
Existing workspaces using version _0.1_ templates can be rebuilt, but no new
13+
workspaces can be created using the old format.
14+
- web: The workspace templates _Open in Coder_ embeddable button flow no longer
1515
includes a _clone_ step; buttons created from prior versions will still work,
1616
but Coder will not clone the project. To automate project cloning, use
17-
[`workspace.configure.start`](../workspaces/workspaces-as-code/templates.md#workspaceconfigurestart)
18-
- web: The embedded form for workspaces as code located at **Manage** >
17+
[`workspace.configure.start`](../workspaces/workspace-templates/templates.md#workspaceconfigurestart)
18+
- web: The embedded form for workspace templates located at **Manage** >
1919
**Admin** > **Templates** no longer uses the following fields: **Project
2020
Repository URL** and **Project Git Service**
2121

changelog/1.20.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ There are no breaking changes in 1.20.0.
1414
the provided default.
1515
- web: Added the `node-selector`, `tolerations`, and `annotations` fields to
1616
workspace templates.
17-
- other: Added a new JSON schema for writing Coder workspace as code templates
18-
with code completion and syntax checking.
17+
- other: Added a new JSON schema for writing Coder workspace templates with code
18+
completion and syntax checking.
1919
- web: Added a service banner that's displayed to all users of the system. The
2020
message can be used with existing messages. It can be dismissed by each user
2121
at any point and will not be shown again until there is a new message.

manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@
5555
"path": "./workspaces/ssh.md"
5656
},
5757
{
58-
"path": "./workspaces/workspaces-as-code/index.md",
58+
"path": "./workspaces/workspace-templates/index.md",
5959
"children": [
6060
{
61-
"path": "./workspaces/workspaces-as-code/templates.md"
61+
"path": "./workspaces/workspace-templates/templates.md"
6262
},
6363
{
64-
"path": "./workspaces/workspaces-as-code/code-completion.md"
64+
"path": "./workspaces/workspace-templates/code-completion.md"
6565
}
6666
]
6767
}

0 commit comments

Comments
 (0)