Phorcys
738a7f6bd9
fix(examples/templates/docker): persist /home/coder instead of /home/${local.user} ( #16189 )
...
Fix for #16188
2025-01-19 08:41:55 +05:00
Phorcys
8fb7832b27
feat(examples/templates/azure-windows): add azure region and windows-rdp modules ( #15516 )
2025-01-07 18:41:04 +00:00
Phorcys
0870ff2410
chore: unify azure-linux and azure-windows templates ( #16039 )
2025-01-06 09:24:16 +04:00
Muhammad Atif Ali
94f5d52fdc
chore: adopt markdownlint and markdown-table-formatter for *.md ( #15831 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2025-01-03 13:12:59 +00:00
Cian Johnston
9c625476b7
fix(examples): add keep_locally to docker_image resources ( #16012 )
...
Fixes https://github.com/coder/coder/issues/15972
Adds `keep_locally = true` to other templates that use the
`docker_image` resource to prevent the docker provider from attempting
to remove the image upon workspace deletion.
We had set this in some other places (such as the `dogfood` template)
but had not set this consistently in other templates.
2025-01-02 13:17:53 +00:00
Phorcys
8befb34eca
feat(examples/templates/digitalocean-linux): add code-server and jetbrains gateway modules ( #15546 )
2024-12-27 21:45:29 +01:00
Phorcys
03edd604a7
chore(examples/templates/digitalocean-linux): make template more friendly ( #15938 )
2024-12-25 00:52:23 +05:00
Phorcys
c41d7c38ae
feat(examples/templates/kubernetes-devcontainer): switch code-server to a module and add JetBrains ( #15545 )
2024-12-21 16:38:29 +05:00
Nguyễn Đức Huy
2eee201cd8
fix: encode .dockerconfigjson value for kubernetes-devcontainer example template ( #15819 )
...
Value of `.dockerconfigjson` in kubernetes_secret datasource is already
decoded, so I encode it again to avoid error for
`ENVBUILDER_DOCKER_CONFIG_BASE64`
2024-12-16 09:05:44 +00:00
Phorcys
bc4f9a4327
fix(examples/templates/aws-linux): add hashicorp/cloudinit provider ( #15794 )
2024-12-09 21:51:07 +05:00
Phorcys
8a408176e8
feat(examples/templates/kubernetes-envbox): promote module usage ( #15548 )
2024-12-09 18:18:53 +05:00
Phorcys
81279a9247
chore(examples/templates/azure-linux): migrate to hashicorp/cloud-init provider ( #15785 )
2024-12-09 16:30:32 +05:00
Phorcys
aa310e3979
chore: add template ID disclaimer ( #15770 )
...
Follow-up to #15757
2024-12-06 17:37:35 +01:00
Charlie Voiselle
9fe71d9daa
feat: make username in Initialize.ps1 dynamic ( #15751 )
...
This PR switches the `UserId` from a constant to a generated values
based on the script environment. This enables users to rename their
machine and default user name without having to edit this element as
well.
2024-12-06 08:16:32 -05:00
Charlie Voiselle
bae12e1f0b
fix: remove backtick from valid password characters ( #15756 )
...
Since backticks are the PowerShell escape character, they are silently
consumed. To actually use backticks, they would need to be doubled when
used.
This change increases the safety of generated passwords for other
terraform modules that might use this value unawares.
2024-12-06 08:16:05 -05:00
Phorcys
069655ace9
chore: unify template naming ( #15757 )
...
This PR changes template names and docs to follow the
`<provider>-<os/whatever>` format for all templates.
I've decided not to split this into multiple PRs because I'd have to
edit rebase the other PRs once one of them gets merged, this should be
relatively low-impact anyways.
This aligns with our goals to make templates more user-friendly.
Closes #15754
2024-12-05 22:37:25 +05:00
Phorcys
0b4eb8bafc
feat(examples/templates/gcp-devcontainer): promote module usage ( #15549 )
2024-11-29 18:27:46 +05:00
Phorcys
68dc820a7c
feat(examples/templates/devcontainer-docker): promote module usage ( #15544 )
2024-11-29 18:23:36 +05:00
Phorcys
7a7db9f4ad
feat(examples/templates/gcp-windows): add GCP region module ( #15552 )
2024-11-28 14:12:36 +05:00
Phorcys
56eb72236e
feat(examples/templates/docker): switch code-server to a module and add jetbrains module ( #15547 )
2024-11-28 11:00:58 +05:00
Phorcys
946328f36e
feat(examples/templates/gcp-linux): add GCP region, code-server and JetBrains Gateway modules ( #15550 )
2024-11-28 10:13:21 +05:00
Phorcys
ba91a95f77
feat(examples/templates/gcp-vm-container): add GCP region selector, code-server and JetBrains modules ( #15551 )
2024-11-28 09:25:12 +05:00
Cian Johnston
e550365e35
chore(docs): update documentation for coder_workspace_tags ( #15620 )
...
Adds documentation relating to
https://github.com/coder/coder/issues/15087 and
https://github.com/coder/coder/issues/15427
See also: https://github.com/coder/coder/pull/15578
2024-11-25 21:01:18 +00:00
Phorcys
f9d6698384
feat(examples/templates/azure-linux): promote module usage ( #15517 )
2024-11-18 13:40:12 +05:00
Phorcys
6b1fafbacc
feat(examples/templates/aws-linux): use modules for code-server and jetbrains ( #15500 )
2024-11-14 15:45:08 +01:00
Ethan
b96177613b
ci: fix go tests not running if examples are updated ( #15514 )
...
- https://github.com/coder/coder/pull/15504 broke CI on main because of
the aforementioned issue, this also fixes the test failure.
2024-11-14 14:20:51 +00:00
Ben Potter
d3eb896543
fix: remove built-in image for Docker template ( #15504 )
...
The hardcoded image is an anti-pattern, leading to weird errors if the
`docker` group is absent. We should either provide a better error
in-product or just have a better image.
@matifali - also down to use a Devcontainers universal image instead or
make this a parameter. Let me know what you think the best "default
install" is
2024-11-14 06:40:50 -07:00
Muhammad Atif Ali
065263a852
chore: update dependabot config and pin Docker images ( #15194 )
2024-11-04 11:01:54 +05:00
Phorcys
c8f68cbc46
feat: use hashicorp/cloud-init provider for AWS-linux example ( #15240 )
...
Same as #15050 but for the `aws-linux` template.
Tested, works as expected.
2024-10-28 07:43:45 +00:00
Phorcys
91c337a2ff
feat: use hashicorp/cloud-init provider in AWS devcontainer template ( #15050 )
...
This PR makes templates uses the
[hashicorp/cloud-init](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs )
provider instead of hardcoding a cloud-init config.
2024-10-27 13:17:03 +00:00
Cian Johnston
06a40185cb
chore(examples): add missing devcontainer templates to examples.go ( #15080 )
2024-10-15 17:26:42 +01:00
Phorcys
79d24d2101
feat: allow for different docker socket path in docker-based templates ( #15035 ) ( #15049 )
...
This PR fixes #15035 , I have tested it on my instance and it works as
expected.
2024-10-12 21:35:52 +02:00
Muhammad Atif Ali
419eba5fb6
docs: restructure docs ( #14421 )
...
Closes #13434
Supersedes #14182
---------
Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com >
Co-authored-by: Ethan Dickson <ethan@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com >
Co-authored-by: Stephen Kirby <me@skirby.dev >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-05 10:52:04 -05:00
Cian Johnston
3b5cabb566
feat(examples/templates/aws-devcontainer): add root volume parameter, growpart automatically ( #14839 )
...
Fixes https://github.com/coder/coder/issues/14833
2024-09-27 09:51:31 +01:00
Cian Johnston
e4470e1617
hotfix(examples/templates/aws-devcontainer): fix code-server module address ( #14836 )
2024-09-26 16:28:09 +00:00
Cian Johnston
4be5b2ff98
chore(examples/templates/aws-devcontainer): update to use envbuilder provider` ( #14831 )
...
* chore(examples/templates/aws-devcontainer): update to use envbuilder provider
* fix(devcontainer-gcp): set builder image properly
2024-09-26 17:07:14 +01:00
Cian Johnston
4bd7fe8506
fix(examples/templates/gcp-devcontainer): fix location of env file ( #14422 )
2024-08-23 17:46:02 +01:00
Cian Johnston
53e5746636
feat(examples/templates/gcp-devcontainer): add envbuilder provider ( #14405 )
...
This PR modifies the gcp-devcontainer example template to include
support for devcontainer caching using the envbuilder provider.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-08-23 17:36:24 +01:00
Cian Johnston
40baa5bc72
chore(examples): update devcontainer-{docker,kubernetes} to use computed env ( #14328 )
...
Updates devcontainer-docker and devcontainer-kubernetes example templates to use computed env from provider, if applicable.
2024-08-20 10:47:02 +01:00
Muhammad Atif Ali
cba6e93176
chore: update docs links ( #14221 )
2024-08-17 11:51:13 +00:00
Cian Johnston
91a74f0ead
chore(examples): update kubernetes devcontainer template with envbuilder provider ( #14267 )
...
* chore(examples): update kubernetes devcontainer template with envbuilder provider
* make insecure a template variable
* Update examples/templates/devcontainer-kubernetes/README.md
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-08-15 22:08:24 +01:00
Kayla Washburn-Love
95a7c0c4f0
chore: use tabs for prettier and biome ( #14283 )
2024-08-15 14:53:53 -06:00
Chris LaRose
86b9c97e8e
chore: update envbox template image ( #14256 )
2024-08-14 23:39:43 +10:00
Cian Johnston
e978d4d9ac
chore(examples): update devcontainer-docker template with envbuilder provider ( #14199 )
...
Updates the devcontainer-docker template with optional caching via the envbuilder provider
2024-08-14 10:32:53 +01:00
Ari Croock
f50e1d5a9a
fix(examples): use more precise example kubernetes template labels ( #14028 )
...
* fix: apply more specific selector labels to k8s example deployment template
* fix: use immutable ids instead of names for persistent resources in k8s example template as per docs
2024-08-08 11:17:18 +01:00
Asher
d8ddce8628
chore: use latest code-server in examples ( #14030 )
...
Instead, leave a comment describing how to pin the version. This negates
the need to continually update the version in the examples.
2024-07-26 21:53:17 +00:00
Raul Salamanca
5b35f65305
docs: add proxmox coder template in list of community templates ( #14022 )
2024-07-26 06:05:49 +03:00
Cian Johnston
005254d64a
chore(examples): update sample devcontainer templates ( #13796 )
...
Updates docker and kubernetes devcontainer templates
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-07-22 14:10:02 +01:00
Nano
40b70dbdb0
docs: update caddy config example & guide ( #13964 )
2024-07-22 10:47:41 +03:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00