Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: rename to "template push" in docs #3525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/templateplan.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func templatePlan() *cobra.Command {
return &cobra.Command{
Use: "plan <directory>",
Args: cobra.MinimumNArgs(1),
Short: "Plan a template update from the current directory",
Short: "Plan a template push from the current directory",
RunE: func(cmd *cobra.Command, args []string) error {
return nil
},
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You can edit the Terraform template as follows:
coder templates init
cd gcp-linux # modify this line as needed to access the template
vim main.tf
coder templates update gcp-linux # updates the template
coder templates push gcp-linux # updates the template
```

## Up Next
Expand Down
2 changes: 1 addition & 1 deletion docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ practices:

We recommend source controlling your templates as you would other code.

CI is as simple as running `coder templates update` with the appropriate
CI is as simple as running `coder templates push` with the appropriate
credentials.

---
Expand Down
4 changes: 2 additions & 2 deletions examples/templates/docker-image-builds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "docker_image" "coder_image" {
Update the template:

```sh
coder template update docker-image-builds
coder template push docker-image-builds
```

You can also remove images from the validation list. Workspaces using older template versions will continue using
Expand Down Expand Up @@ -136,7 +136,7 @@ resource "docker_image" "coder_image" {
Update the template:

```sh
coder template update docker-image-builds
coder template push docker-image-builds
```

Optional: Update workspaces to the latest template version
Expand Down
4 changes: 2 additions & 2 deletions examples/templates/docker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Develop in Docker
description: Run workspaces on a Docker host using registry images
description: Run workspaces on a Docker host using registry images
tags: [local, docker]
---

Expand Down Expand Up @@ -37,7 +37,7 @@ variable "docker_image" {
Update the template:

```sh
coder template update docker
coder template push docker
```

You can also remove images from the validation list. Workspaces using older template versions will continue using
Expand Down