* start
* start a template
* basic structure
* Update docs/templates/devcontainers.md
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl>
* Update examples/templates/devcontainer-docker/main.tf
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
* add kubernetes template
* mention parameters
* fixups
* fixes from feedback
---------
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl>
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
* Move updatecheck logs to debug mode
This was causing logs to be emitted immediately after
initial setup, which seemed odd for the user.
* Fix setup page text to say "Create" instead of "Setup" account
* Improve copy on the empty workspaces page
- This view can be seen after the user creates their first workspace, so saying first is bad.
- It should describe what a workspace is, so I modified the description.
- The create from template button wasn't helpful!
* Improve the copy for the empty templates view
- This didn't describe what a template actually is.
- The title had the same problem as workspaces, where first makes no sense.
* Improve text consistency on the Create Template page
* Fix "View activity" displaying for non-Enterprise users
This was causing an exception to be thrown.
* Improve messaging of empty groups view
* Appropriately capitalize Workspace and Template
* Improve Docker template taglines
* Fix types
* add `display_name`
* fix typos and `terraform validate`
* update display_name
* Update examples/templates/aws-windows/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/aws-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/azure-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/azure-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/do-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/do-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update main.tf
* Update main.tf
* Update main.tf
* Update main.tf
* Update main.tf
---------
Co-authored-by: Ben Potter <me@bpmct.net>
* add fly.io example
* fix: `fly_volume` does not allow using - in name.
fix: `fly_volume` does not allow using - in the name.
* fix: provider versions and settings
* fix: valid `fly_app` name
* chore: ipv6 is not used
* fix: names
strangely `fly_volume` does not allow `-` and `fly_app` does not allow `_`.
* chore: update max RAM
* add fly-auth-api managed variables
* Update README.md
* improve setup flow
- user is not prompted in UI for default values
- org slug is best fetched via CLI
* add metadata
* add to starter templates
---------
Co-authored-by: Ben <me@bpmct.net>
Updates templates examples and docs to pass the --method standalone argument
to code-server install script, and installs code-server under /tmp/code-server.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
* chore: Improve project-wide prettier formatting and ignored files
* chore: `Run make fmt/prettier`
* Fix gitignore for `.vscode` folder so that ! works
* Add comment in `.prettierrc.yaml` to explain `.editorconfig`
* Remove scripts/apidocgen/markdown-template/README.md
* Use `yq` for processing prettierrc, update lib.sh dependency check
* Add `yq` to Dockerfile and Nix
The base ubuntu image lands the user as root, but the terraform tempalte
expected /home/coder to be used. This change adds a user with the same
name as the Coder users username and allows them to sudo.
Changes to terraform templates:
* Remove DNS (this can interfere with users running their own DNS
servers)
* Remove `lower()` restriction from hostnames so that it will show the
name set by the user, as-is (there is no restriction on upper case
letters in hostnames)
* Remove superfluous `trap` in entrypoints, this is already handled by
the init script
* Switch from `command` to `entrypoint` as the latter can support more
Docker images out-of-the-box
* feat: use app wildcards for apps if configured
* feat: relative_path -> subdomain
- rename relative_path -> subdomain when referring to apps
- migrate workspace_apps.relative_path to workspace_apps.subdomain
- upgrade coder/coder terraform module to 0.5.0
* add: ECS example template
* fix: empty main.tf
* cleanup
* rm: cluster & compute
* set CPU & memory vars
Co-authored-by: Ben Potter <ben@coder.com>
Co-authored-by: Ben Potter <ben@coder.com>
* add: code-server to template examples
* add: code-server to gcp templates
* add: code-server to gcp-linux template
* update: READMEs
* update: boot disk version
* update: google provider version
* fix: Reduce variables needed for Docker template
This should make initial setup a bit simpler!
* Fix for M2 Macbooks
PostgreSQL 13 doesn't support the M series architecture.
* Fix name <-> id swap
* Update Docker provider to remove host requirement
Co-authored-by: Kyle Carberry <kyle@air.local>
* make gcp-linux example template use a non-root user
* don't try to create user account if it already exists
* upgrade to debian-10 image since debian-9 is no longer available
* fix: update agent ID in example templates
* fix: update agent ID in dogfood template
* chore: update default agent ID in documentation
* fix: develop.sh: start FE after template is created; leave template dir around if template creation fails
* Pass workspace owner email address to provisioner
* Remove owner_email and owner_username fields from agent metadata
* Add Git environment variables to example templates
* Remove "owner_name" field from provisioner metadata, use username instead
* Remove Git configuration from most templates, add documentation
* Proofreading/typo fixes from @mafredri
* Update example templates to latest version of terraform-provider-coder
- make default template max TTL 24 hours (still less than 168)
- make default workspace autostop 2 hours unless specified otherwise
- add instance type selector to aws templates
This commit makes the following changes:
- Adds two variables docker_host and docker_arch to the example docker-code-server template
- Adds an example params.yaml to docker-code-server and updates the README.md to reference these parameters
- scripts/develop.sh will now attempt to create a template using docker-code-server with the appropriate parameters for the environment
- Updated Lima example to make use of the template parameters for docker-code-server
Additional drive-bys:
- webpack.dev.ts references CODER_HOST and not CODERV2_HOST; updated develop.sh accordingly
- develop.sh should now terminate child processes upon error.