Skip to content

Commit 070d0f0

Browse files
authored
fix: update WAC sample template (#230)
* Add 'start' field to 'configure' in the sample template * Enforce consistent use of periods.
1 parent a4a90a2 commit 070d0f0

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

changelog/1.17.2.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ There are no breaking changes in 1.17.2.
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
18-
**Environments** page
18+
**Environments** page.
1919
- web: **workspace template** information is now displayed on the
2020
**Environments** page for environments built from a template.
21-
- web: Added _Cordon_ and _Uncordon_ actions to _Provider_ audit logs
21+
- web: Added _Cordon_ and _Uncordon_ actions to _Provider_ audit logs.
2222

2323
### Bug Fixes 🐛
2424

2525
- infra: Fixes an issue whereby using `coder/configure` to create Dev URLs would
26-
fail
26+
fail.
2727
- infra: Fixes an issue authenticating using OpenID Connect Identity Providers
2828
(IdPs) that omit name information, such as GitLab. In this case, Coder will
2929
use the email address as the user's name.
3030
- infra: Improved validation for environment names. Previously, a long
3131
environment name may have caused build errors.
3232
- web: The Dev URLs card on the **Environments** page now refreshes after an
33-
environment finishes building
33+
environment finishes building.
3434
- jetbrains: Fixed an issue whereby Jetbrains IDE processes would start and
3535
always run. They now start on request when opening Jetbrains IDEs.
36-
- web: Improved reliability of the workspace provider ping indicator
37-
- web: Fixed incorrect timestamps in an image's _Available Tags_ table
36+
- web: Improved reliability of the workspace provider ping indicator.
37+
- web: Fixed incorrect timestamps in an image's _Available Tags_ table.
3838

3939
### Security Updates 🔐
4040

environments/workspaces-as-code/templates.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,17 @@ workspace:
4646
effect: NoExecute
4747
tolerationSeconds: 3600
4848
configure:
49-
- name: "install curl"
50-
run: |
51-
apt update
52-
apt install -y curl
53-
- name: "install Go binary"
54-
run: "go install"
55-
directory: /home/coder/go/src/github.com/my-project
56-
shell: "bash"
57-
env:
58-
GOPATH: /home/coder/go
49+
start:
50+
- name: "install curl"
51+
run: |
52+
apt update
53+
apt install -y curl
54+
- name: "install Go binary"
55+
run: "go install"
56+
directory: /home/coder/go/src/github.com/my-project
57+
shell: "bash"
58+
env:
59+
GOPATH: /home/coder/go
5960
```
6061
6162
## Workspace template fields

0 commit comments

Comments
 (0)