- Notifications
You must be signed in to change notification settings - Fork928
docs: improve workspaces and templates doc#9139
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
224bf4c
d494d28
eabd21f
a92693d
46618e4
85535d0
bbd4928
3cc2dbb
cb39a6d
6706032
4e4b9e5
351c457
50e9041
ed27c28
744bad0
58d5c9e
bf5228c
92eea5f
302f5dd
c80c0e3
e308e5d
22570dd
cbeac94
b12c1d6
b4f33d5
ec1741e
223dc9a
cb266c6
b5c0371
9f16953
6bda970
c2d992b
c9a6c3c
3efae01
267639c
5c64352
dbfc80d
6506168
588a08a
151687d
456f5d5
59528ff
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Template best practices | ||
We recommend a few ways to manage workspace resources, authentication, | ||
and versioning. | ||
<children> | ||
</children> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Template Change Management | ||
We recommend source-controlling your templates as you would other | ||
code. You can [install Coder](../install/) in CI/CD pipelines to push new | ||
matifali marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
template versions. | ||
```console | ||
# Install the Coder CLI | ||
@@ -25,7 +27,7 @@ coder templates push --yes $CODER_TEMPLATE_NAME \ | ||
--name=$CODER_TEMPLATE_VERSION # Version name is optional | ||
``` | ||
To cap token lifetime on creation, [configure Coder server to set a | ||
shorter max token lifetime](../cli/server.md#--max-token-lifetime). | ||
For an example, see how we push our development image and template | ||
[with GitHub actions](https://github.com/coder/coder/blob/main/.github/workflows/dogfood.yaml). |
Uh oh!
There was an error while loading.Please reload this page.