Commit Graph

83 Commits

Author SHA1 Message Date
Muhammad Atif Ali 7358c1b1ac
chore(dogfood): bump module versions to latest (#13246)
We should use the latest versions as these are the ones most customers will use.

We can automate this with @dependabot once we resolve https://github.com/coder/registry.coder.com/issues/13
2024-05-13 09:51:47 +03:00
Kyle Carberry d302570091
chore: remove `GITHUB_TOKEN` from dogfood env vars (#13106)
This was stale all the time!
2024-04-30 01:26:58 +00:00
Muhammad Atif Ali ef26ad96a9
chore(dogfood): bump modules versions 2024-03-19 23:54:16 +03:00
Cian Johnston 18c1e02bf0
dogfood: replace siegfried with greenhill (#12599) 2024-03-15 23:33:43 +10:00
Cian Johnston 3e6e1e6f10
ci: add jnb wsproxy + update dogfood template (#12440)
Co-authored-by: Dean Sheather <dean@deansheather.com>
2024-03-06 18:54:26 +00:00
Muhammad Atif Ali 7eed40bd99
chore(dogfood): bump jetbrains-gateway module to 1.0.6 (#12298) 2024-02-26 11:57:40 +00:00
Muhammad Atif Ali 8ca2add6dc
chore(dogfood): revert to pre-artifactory state (#12169) 2024-02-16 13:47:15 +03:00
Cian Johnston 1cc51b009a
chore(examples): remove deprecated startup_script_timeout and shutdown_script_timeout (#12104)
Removes deprecated startup_script_timeout and shutdown_script_timeout from our example templates.

Co-authored-by: Muhammad Atif Ali <atif@coder.com>
2024-02-12 14:29:41 +00:00
Mathias Fredriksson 040ce40ed8
fix(dogfood): add ability to synchronize with startup script via done file (#12058) 2024-02-07 19:16:18 +02:00
Mathias Fredriksson aae228ac01
fix(dogfood): resolve `module.git-clone.repo_dir` containing `~/` (#11994) 2024-02-02 14:21:34 +02:00
Muhammad Atif Ali 9616b92f0e
chore(dogfood): fix nix icon path (#11984) 2024-02-01 19:27:41 +00:00
Asher e748312193
fix(dogfood): fix startup script looping (#11972)
Seems to be on account of the quotes interpreting a ~ literally.  We do
replace it with /home/coder but only if it matches ~/, not ~ alone.
2024-01-31 21:33:02 -09:00
Muhammad Atif Ali 4604db072a
fix(dogfood): fix startup script on workspace creation (#11958) 2024-01-31 18:01:22 +03:00
Muhammad Atif Ali d2b4d58e96
chore(dogfood): use better names for image options (#11957) 2024-01-31 14:36:01 +00:00
Muhammad Atif Ali 215a9d1b30
chore: experiment building dogfood image with nix (#11680) 2024-01-31 14:27:11 +00:00
Muhammad Atif Ali 699a4b8dd4
chore(dogfood): use built-in VS Code Desktop button over the module (#11869) 2024-01-29 00:37:22 +03:00
Muhammad Atif Ali 2f9bf1ebe1
ci: validate template before pushing (#11867) 2024-01-27 10:02:10 +03:00
Muhammad Atif Ali de6d4794dc
chore(dogfood): replace `repo_dir` with `base_repo_dir` in `git-clone` module (#11835)
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2024-01-27 01:45:07 +00:00
Muhammad Atif Ali 1e2634d2d0
chore(dogfood): use versioning for coder modules (#11774) 2024-01-24 01:33:25 +00:00
Muhammad Atif Ali 31f7b39513
chore(dogfood): update dogfood template to use artifactory (#11452)
* chore(dogfood): update to use artifactory

* Update main.tf
2024-01-05 23:25:51 +03:00
Muhammad Atif Ali f0969f99ad
revert: "chore(dogfood): remove `agent_name` from jetbrains-ide module" (#11095) 2023-12-08 01:14:37 +00:00
Muhammad Atif Ali be31b2e4d7
chore(dogfood): remove `agent_name` from jetbrains-ide module
This is no more needed.
Depends on https://github.com/coder/modules/pull/99
2023-12-08 02:34:21 +03:00
Dean Sheather b07b40b346
chore: revert nix dogfood image (#11022)
The nix image isn't used because it doesn't work, and we haven't been
updating our "pre-nix" tag since the changes were made. Reverts back to
being a regular Dockerfile.
2023-12-05 09:02:57 +00:00
Dean Sheather 15875a76ae
chore: add new deploy job for new dogfood (#10852) 2023-12-01 03:16:49 -08:00
Muhammad Atif Ali 3adf86b608
chore(dogfood): use `coder_extrenal_auth` over deprecated `coder_git_auth` (#10208)
@kylecarbs does this need any changes on the Coder server?
For example adopting to the new `CODER_EXTERNAL_AUTH_X` variables?
2023-10-12 10:30:00 +03:00
Muhammad Atif Ali fafecbd9b3
fix(dogfood): fix slackme module source (#10207)
This was pinned to the branch ref and is no more needed after the branch has been merged.
2023-10-11 08:29:25 +00:00
Kyle Carberry 652e1a7d43
feat: add slackme module to dogfood (#10198) 2023-10-10 22:46:47 +00:00
Kyle Carberry b402f2a816
feat: add shebang support to scripts (#10134)
This enables much greater portability!
2023-10-09 10:57:57 -05:00
Colin Adler 39846d69d3
feat: modify agent install script to give `CAP_NET_ADMIN` if available (#9908) 2023-10-03 17:34:29 -05:00
Muhammad Atif Ali 352ec7bc4f
chore(dogfood): rename `project_directory` to `folder` (#10008) 2023-10-03 07:11:58 +00:00
Muhammad Atif Ali 465546eefd
chore(dogfood): open vscode desktop in coder repo directory (#9999) 2023-10-03 08:55:25 +03:00
Muhammad Atif Ali 16a2d4d733
chore(dogfood): use coder modules in dogfood (#9890)
updates dogfood to use coder modules

---

<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary>

> # TL;DR
> This pull request removes the `dotfiles_url` and `jetbrains_ide` parameters, and the related code from the `main.tf` file. It also adds several new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`. The `startup_script` has been updated to remove the installation and launch of `filebrowser` and the `dotfiles` related code. 
> 
> # What changed
> - Removed `dotfiles_url` and `jetbrains_ide` parameters.
> - Removed related code for `dotfiles_url` and `jetbrains_ide`.
> - Added new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`.
> - Updated `startup_script` to remove the installation and launch of `filebrowser` and the `dotfiles` related code.
> 
> # How to test
> 1. Go to https://dev.coder.com/templates/coder/versions/dazzling_hugle0 and create a new workspace or change your dogfood workspace version to `dazzling_hugle0` .
> 2. Verify that the new modules are working as expected.
> 
> # Why make this change
> The `dotfiles_url` and `jetbrains_ide` parameters and related code were removed to simplify the configuration and make it easier to manage. The new modules were added to provide additional functionality and improve the overall user experience. The `startup_script` was updated to reflect these changes.
</details>
2023-09-30 22:22:14 +03:00
Kyle Carberry c4718fd747
fix: remove pinned version for dogfood (#9872) 2023-09-26 02:23:42 +00:00
Kyle Carberry f7c89082d2
chore: swap dogfood to use modules (#9870) 2023-09-25 19:41:45 -05:00
Muhammad Atif Ali 254f459d69
chore(dogfood): add a coder_app for JetBrains gateway IDEs (#9644) 2023-09-13 17:49:36 +03:00
Ben Potter f5829d2be6
chore(dogfood): authenticate to `coder` CLI if unauthenticated (#9487) 2023-09-04 02:26:48 +03:00
Mathias Fredriksson 21f3282c82
chore(dogfood): fix code-server folder (#9437) 2023-08-30 20:08:06 +03:00
Muhammad Atif Ali f97b497966
chore(dogfood): update docker tf provider and metadata (#9356) 2023-08-27 01:22:28 +03:00
Ammar Bandukwala 4a9c7733d8
chore(dogfood): revert to pre-nix image (#9231) 2023-08-21 20:30:09 +00:00
Kyle Carberry c0a78533bf
chore: reduce build time by converting docker image to build with nix (#9099)
* Add Docker image

* Try building the container in CI

* Uncomment testing lines

* Trim image step

* Hit 'em with a Docker load

* Oopsie!

* Add a tag and push!

* Fix image name 🤦

* Fix sudo

* Fix target name

* Build and push

* Fix login to docker hub

* Revert to Docker push

* Fix PATH

* Fix SHA

* Fix ca certs

* Fix ca certs

* Fix coping files in

* Fix docker init

* Fix Docker group and init

* Add comments to our Nix

* Fix build stage

* Add some more comments

* Remove old dogfood image files

* Tag and push with branch name

* Fix tag passing

* Fix tag passing

* Remove old pull triggers

* Convert gen to use Nix

* Add protobuf to the flake

* Add prettier to the dev shell

* Swap to the faster Nix cache action

* Add the correct yq

* Fix gen

* Add make to the flake

* Update extensions
2023-08-17 21:19:36 -05:00
Muhammad Atif Ali 9e170a7332
chore: add filebrowser to dogfood (#8535) 2023-07-18 17:04:00 +03:00
Bruno Quaresma dc52df940b
chore: update coder tf provider on dogfood (#8503) 2023-07-13 14:50:23 -03:00
Colin Adler 2c0f653aa8
chore(dogfood): give Asher more ram (#8442) 2023-07-11 15:24:29 -05:00
Cian Johnston d6f8bd7847
feat(cli): add `coder stat` command (#8005) 2023-06-20 11:16:57 +02:00
Mathias Fredriksson 660bbb8d38
refactor: deprecate `login_before_ready` in favor of `startup_script_behavior` (#7837)
Fixes #7758
2023-06-06 11:58:07 +03:00
Muhammad Atif Ali e375169ac0
chore: remove CPU usage calculation for hosts on cgroup v1 (#7602) 2023-05-19 14:08:20 +00:00
Muhammad Atif Ali ef635f12ea
chore(dogfood): update the dogfood template to add workspace CPU and RAM usage from `cgroup` (#7529)
Co-authored-by: Cian Johnston <cian@coder.com>
2023-05-19 15:15:48 +03:00
Ben Potter 6bb4a4c3c5
chore: add latest dogfood template (#7321)
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
2023-05-13 15:42:10 +03:00
Colin Adler e2d8bda246
chore(dogfood): remove unnecessary docker host replace (#7269) 2023-04-25 04:58:09 +00:00
Dean Sheather aafd2803bb
chore: update dogfood IP for Sydney (#6597) 2023-03-14 15:29:52 +10:00