You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_, _=fmt.Fprintln(cmd.OutOrStdout(), cliui.Styles.Paragraph.Render("This template has customizable parameters. Values can be changed after create, but may have unintended side effects (like data loss).")+"\r\n")
cliflag.DurationVarP(cmd.Flags(), &stopAfter, "stop-after", "", "CODER_WORKSPACE_STOP_AFTER", 8*time.Hour, "Specify a duration after which the workspace should shut down (e.g. 8h).")
243
168
returncmd
244
169
}
170
+
171
+
typeprepWorkspaceBuildArgsstruct {
172
+
Template codersdk.Template
173
+
ExistingParams []codersdk.Parameter
174
+
ParameterFilestring
175
+
NewWorkspaceNamestring
176
+
}
177
+
178
+
// prepWorkspaceBuild will ensure a workspace build will succeed on the latest template version.
179
+
// Any missing params will be prompted to the user.
_, _=fmt.Fprintln(cmd.OutOrStdout(), cliui.Styles.Paragraph.Render("This template has customizable parameters. Values can be changed after create, but may have unintended side effects (like data loss).")+"\r\n")
211
+
disclaimerPrinted=true
212
+
}
213
+
214
+
// Param file is all or nothing
215
+
if!useParamFile {
216
+
for_, e:=rangeargs.ExistingParams {
217
+
ife.Name==parameterSchema.Name {
218
+
// If the param already exists, we do not need to prompt it again.
219
+
// The workspace scope will reuse params for each build.
Copy file name to clipboardExpand all lines: docs/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ on your preferred clouds and servers.
5
5
6
6
By building on top of common development interfaces (SSH) and infrastructure tools (Terraform), Coder aims to make the process of **provisioning** and **accessing** remote workspaces approachable for organizations of various sizes and stages of cloud-native maturity.
7
7
8
-
> ⚠️ Coder v2 is in **alpha** state and is not ready for production use. For
8
+
> ⚠️ Coder OSS is in **alpha** state and is not ready for production use. For
9
9
> production environments, please consider [Coder v1](https://coder.com/docs) or
0 commit comments