From fd0ca8ee4ee6bb9332130d8e330bea4728af5fb5 Mon Sep 17 00:00:00 2001 From: Lily Hoffman <0xlilyhoffman@gmail.com> Date: Wed, 31 Mar 2021 17:50:32 +0000 Subject: [PATCH 1/2] Add 'start' field to 'configure' in the sample template --- environments/workspaces-as-code/templates.md | 21 ++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/environments/workspaces-as-code/templates.md b/environments/workspaces-as-code/templates.md index 8519fd61a..011ad108c 100644 --- a/environments/workspaces-as-code/templates.md +++ b/environments/workspaces-as-code/templates.md @@ -46,16 +46,17 @@ workspace: effect: NoExecute tolerationSeconds: 3600 configure: - - name: "install curl" - run: | - apt update - apt install -y curl - - name: "install Go binary" - run: "go install" - directory: /home/coder/go/src/github.com/my-project - shell: "bash" - env: - GOPATH: /home/coder/go + start: + - name: "install curl" + run: | + apt update + apt install -y curl + - name: "install Go binary" + run: "go install" + directory: /home/coder/go/src/github.com/my-project + shell: "bash" + env: + GOPATH: /home/coder/go ``` ## Workspace template fields From fb0e40570a712399b9c61a069985cd21d2e7b756 Mon Sep 17 00:00:00 2001 From: Lily Hoffman <0xlilyhoffman@gmail.com> Date: Wed, 31 Mar 2021 17:51:21 +0000 Subject: [PATCH 2/2] Enforce consistent use of periods. --- changelog/1.17.2.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog/1.17.2.md b/changelog/1.17.2.md index 8395c2955..d9c90f467 100644 --- a/changelog/1.17.2.md +++ b/changelog/1.17.2.md @@ -15,26 +15,26 @@ There are no breaking changes in 1.17.2. - web: New page available via **Admin** > **Templates** for creating an embeddable quickstart button. - web: New options available when clicking **New Environment** from the - **Environments** page + **Environments** page. - web: **workspace template** information is now displayed on the **Environments** page for environments built from a template. -- web: Added _Cordon_ and _Uncordon_ actions to _Provider_ audit logs +- web: Added _Cordon_ and _Uncordon_ actions to _Provider_ audit logs. ### Bug Fixes 🐛 - infra: Fixes an issue whereby using `coder/configure` to create Dev URLs would - fail + fail. - infra: Fixes an issue authenticating using OpenID Connect Identity Providers (IdPs) that omit name information, such as GitLab. In this case, Coder will use the email address as the user's name. - infra: Improved validation for environment names. Previously, a long environment name may have caused build errors. - web: The Dev URLs card on the **Environments** page now refreshes after an - environment finishes building + environment finishes building. - jetbrains: Fixed an issue whereby Jetbrains IDE processes would start and always run. They now start on request when opening Jetbrains IDEs. -- web: Improved reliability of the workspace provider ping indicator -- web: Fixed incorrect timestamps in an image's _Available Tags_ table +- web: Improved reliability of the workspace provider ping indicator. +- web: Fixed incorrect timestamps in an image's _Available Tags_ table. ### Security Updates 🔐