Ammar Bandukwala
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
Dean Sheather
d60ec3e4bf
feat: add JSON output format to many CLI commands ( #6082 )
2023-02-08 17:09:38 +00:00
Kyle Carberry
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
Mathias Fredriksson
4730c589fe
chore: Use standardized test timeouts and delays ( #3291 )
2022-08-01 15:45:05 +03:00
Mathias Fredriksson
ef7d357e19
fix: Move timeout ctx closer to use in tests, increase timeout ( #3109 )
...
Some contexts were moved closer to use so that test setup doesn't affect
timeout. And timeout was increased for some others to avoid flakyness
due to slow test runners.
2022-07-22 17:42:09 +03:00
Abhineet Jain
de1fc40000
fix: consistent workspace status b/w CLI and UI ( #2743 )
2022-07-01 14:40:03 +00:00
Spike Curtis
a82c0eb560
Fix socket leak, clean up single use postgres databases ( #2413 )
...
* Fix socket leak, clean up single use postgres databases
Signed-off-by: Spike Curtis <spike@coder.com>
* Move migrate close defer until after we know it is not nil
Signed-off-by: Spike Curtis <spike@coder.com>
2022-06-16 09:01:33 -07:00
Mathias Fredriksson
c8ed213347
fix: Guard against CLI cmd running after test exit ( #1658 )
...
* fix: Guard against CLI cmd running after test exit
* fix: cli: avoid calling t.FailNow in non-test-main goroutine
* fix: cli: server_test: avoid calling t.FailNow outside main goroutine
* fix: cli: clitest_test: avoid calling t.FailNow outside main goroutine
* fix: cli: list_test: avoid calling t.FailNow outside main goroutine
* fix: TestGitSSH use-of-t-after-exit
* fix: TestGitSSH "too many authentication failures"
Due to local SSH keys being given
* chore: clitest: fix TestCli
* chore: Simplify TestTemplateInit
Co-authored-by: Cian Johnston <cian@coder.com>
2022-05-23 20:09:58 +03:00
Spike Curtis
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
Kyle Carberry
e0a7aec228
fix: Match kubectl table style for simpler scripting ( #1363 )
...
Fixes #1322 .
2022-05-10 15:57:07 -05:00