0536b58b48
fix: parse username/workspace correctly on coder state push --build ( #10974 )
...
Fixes the same issue as #10884 but for state push
2023-12-04 09:58:35 +04:00
b267497c6d
fix: parse username/workspace correctly on coder state pull --build ( #10973 )
...
fixes #10884
2023-12-01 13:03:49 +04:00
c83af5e627
chore(cli): add linter to detect potential spurious usage of owner user in cli tests ( #10133 )
...
* Detects the following pattern where the CLI is initialized with a client authenticated as the "first user":
client := coderdtest.New(t, ...)
[...]
user := coderdtest.CreateFirstUser(t, client)
[...]
clitest.SetupConfig(t, client, root)
* Updates documentation regarding role permissions on workspaces.
2023-10-10 11:14:20 +01:00
c194119689
chore: rename AwaitTemplateVersionJobCompleted
and AwaitWorkspaceBuildJobCompleted
( #10003 )
2023-10-03 11:02:56 -06:00
60d5002eb6
refactor: change template archive extraction to be on provisioner ( #9264 )
...
* refactor provisionersdk protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisioners to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisionerd to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor tests & proto renames
* Fixes from self-review
Signed-off-by: Spike Curtis <spike@coder.com >
* appease fmt & link
Signed-off-by: Spike Curtis <spike@coder.com >
* code review fixes & e2e fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* More fmt
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* new gen; use uuid for session workdir
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert nix-based gen CI task until dogfood is on nix
Signed-off-by: Spike Curtis <spike@coder.com >
* revert deleting dogfood Docker stuff
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert "revert deleting dogfood Docker stuff"
This reverts commit 9762158167
.
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 06:10:15 +00:00
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
95fb59696e
Refactor Provisioner to distinguish Plan and Apply ( #5036 )
2022-11-11 16:45:58 -06:00
720c9dadcf
fix: Remove name from workspace builds ( #3937 )
...
Fixes #1561 .
2022-09-07 19:49:57 +00:00
67c4605370
chore: Reduce test times ( #3856 )
...
* chore: Reduce test times
* Rename IncludeProvisionerD to IncludeProvisionerDaemon
* Make TestTemplateDAUs use Tailnet
2022-09-04 11:28:09 -05:00
159137dc10
fix: Use stdin/out defined in command ( #3199 )
2022-07-26 17:23:32 +03:00
1871b09697
feat: in-process provisionerd connection ( #1568 )
...
* in-process provisionerd connection
Signed-off-by: Spike Curtis <spike@coder.com >
* disable lint for server.go/newProvisionerDaemon
Signed-off-by: Spike Curtis <spike@coder.com >
2022-05-19 17:47:45 -05:00
fd49a18b47
feat: Add "state" command to pull and push workspace state ( #1264 )
...
It's possible for a workspace to become in an invalid state.
This is something we'll detect for jobs, and allow monitoring of.
These commands will allow admins to manually reconcile state.
2022-05-02 17:51:58 -05:00