Kyle Carberry
80352656e9
fix: Improve speedtest by adding direct connection toggle ( #3919 )
...
It's weird to test connection speeds over DERP, because most
connections will eventually migrate to direct.
2022-09-07 03:21:08 +00:00
Kyle Carberry
b077f71015
chore: Revert parallel Makefile builds ( #3918 )
...
This was breaking the release process. Namely it was running
the `gen` targets due to the dependency tree, which was failing
on macOS and Linux runners. This revert can be reverted once
we fix that up.
2022-09-07 01:56:51 +00:00
Kyle Carberry
d2e6f305b1
Lower protoc version requirement for easy CI install
2022-09-06 20:35:52 -05:00
Kyle Carberry
502a7370c8
Pin to a static version of protoc
2022-09-06 20:32:24 -05:00
Kyle Carberry
d970d2d3da
Install protoc in release build
2022-09-06 20:13:08 -05:00
Dean Sheather
419d701927
chore: parallel builds with Makefile ( #3854 )
...
* Revert "revert: Makefile buff-ification (#3700 ) (#3848 )"
This reverts commit e490bdd531 .
* fix: fix slim targets in makefile
* fix: don't clobber slim binaries, make sure they're in the correct location
2022-09-06 17:27:06 +00:00
Ammar Bandukwala
4f0105ef7e
feat: add orphan support ( #3849 )
...
* feat: add resource orphanage
* feat: deny custom state in build for regular users
* Minor protoc improvements
2022-09-06 17:07:00 +00:00
Geoffrey Huntley
d6812e0be8
housekeeping(codeowners): migrate to teams ( #3867 )
2022-09-05 13:38:29 -05:00
Kyle Carberry
e490bdd531
revert: Makefile buff-ification ( #3700 ) ( #3848 )
...
This caused the following issues:
- Slim binaries weren't being updated.
- The coder.tar.ztd was misplaced.
- There is no coder.sha1 file with proper filenames.
This should be reintroduced in a future change with those fixes.
2022-09-02 14:46:58 -05:00
Dean Sheather
fefdff4946
fix: install goimports in deploy build ( #3841 )
2022-09-03 02:38:33 +10:00
Dean Sheather
e6699d25ca
fix: fix CI calling script/version.sh instead of scripts ( #3839 )
2022-09-03 02:16:19 +10:00
Dean Sheather
e1a4f3a16b
Makefile buff-ification ( #3700 )
...
Remove old go_build_matrix and go_build_slim scripts in favor of full makefile-ification.
2022-09-02 12:58:23 +00:00
Kyle Carberry
cde036c1ab
fix: Update to Go 1.19 for releases ( #3814 )
2022-09-01 20:10:53 +00:00
Ammar Bandukwala
30f8fd9b95
Daily Active User Metrics ( #3735 )
...
* agent: add StatsReporter
* Stabilize protoc
2022-09-01 14:58:23 -05:00
Mathias Fredriksson
6a00baf235
fix: Transform branch name to valid Docker tag for dogfood ( #3703 )
2022-08-26 17:38:40 +03:00
Joe Previte
e6b6b7f610
chore: upload playwright videos on failure ( #3677 )
2022-08-24 13:45:03 -07:00
Joe Previte
254e91a08f
Update stale.yaml ( #3674 )
...
- remove close-issue-reason (only valid in 5.1.0)
- add days-before-issue-stale 30
2022-08-24 12:02:12 -07:00
Kyle Carberry
b0fe9bcdd1
chore: Upgrade to Go 1.19 ( #3617 )
...
This is required as part of #3505 .
2022-08-21 22:32:53 +00:00
Bruno Quaresma
54b8e794ce
feat: Add emoji picker for template icons ( #3601 )
2022-08-19 16:42:05 -04:00
Spike Curtis
690e6c6585
Check AGPL code doesn't import enterprise ( #3602 )
...
* Check AGPL code doesn't import enterprise
Signed-off-by: Spike Curtis <spike@coder.com >
* use error/log instead of echo/exit
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-19 17:49:08 +00:00
Dean Sheather
55890df6f1
feat: add helm README, install guide, linters ( #3268 )
2022-08-19 02:41:23 +10:00
Ammar Bandukwala
d7b96f7d58
Correct spelling of macOS ( #3478 )
...
* Correct spelling of macOS
* fixup! Correct spelling of macOS
* fixup! Correct spelling of macOS
2022-08-11 21:22:06 -04:00
Kyle Carberry
d275e52a41
fix: Add godoc badge to README ( #3412 )
...
This helps allude to the idea that Coder provides an API as
seen in #3411 .
This also fixes the codecov badge from always being red ;p
2022-08-08 12:16:40 -05:00
Ammar Bandukwala
81e292be44
Add dogfood image ( #3350 )
2022-08-02 20:20:54 +00:00
Abhineet Jain
5ae19f097e
fix: chromatic workflow filter ( #3352 )
2022-08-02 04:23:32 -04:00
Dean Sheather
66a5b0f7bc
fix: don't use adduser and addgroup for docker images ( #3344 )
...
* fix: don't use adduser and addgroup for docker images
* Revert "fix: Remove alternative image architectures until we virtualize (#3336 )"
This reverts commit 00c5116a2e .
2022-08-01 19:28:38 +00:00
Kyle Carberry
00c5116a2e
fix: Remove alternative image architectures until we virtualize ( #3336 )
...
With the addition of a command being executed inside the Docker build,
we could no longer build non-amd64 images on amd64. They will be added
back, but to allow for releases this temporarily removes them.
2022-08-01 08:37:37 -05:00
Ammar Bandukwala
0d93e9bde1
ci: move chromatic to coder workflow ( #3330 )
2022-08-01 09:36:00 -04:00
Ammar Bandukwala
19fcf60864
ci: add typo detection ( #3327 )
...
And fix them.
2022-08-01 09:29:52 -04:00
Mathias Fredriksson
4730c589fe
chore: Use standardized test timeouts and delays ( #3291 )
2022-08-01 15:45:05 +03:00
Kira Pilot
f49328bee5
chore: fix yaml file config error ( #3306 )
2022-07-29 15:18:22 -04:00
Ammar Bandukwala
29eccbe4da
ci: revert skips of required checks ( #3303 )
...
These were putting certain PRs in an unmergeable state.
2022-07-29 18:49:51 +00:00
Kyle Carberry
183b2e80b9
fix: Increase zoom of hero for README ( #3300 )
...
This was pretty small before which made it difficult to see
what was going on.
2022-07-29 13:39:30 -05:00
Kira Pilot
b9936d2310
updated dependabot ( #3297 )
2022-07-29 13:31:49 -04:00
Dean Sheather
b19cf701c5
feat: change docker to use "coder" user and add basic Helm chart ( #2746 )
2022-07-26 13:19:29 -05:00
Mathias Fredriksson
9a9912c8ce
fix: Add go.mod to prcontext and use build vs go run ( #3197 )
2022-07-26 16:04:00 +03:00
Mathias Fredriksson
173ab297be
chore: Increase style/gen CI test timeout ( #3187 )
2022-07-25 17:10:53 +00:00
Mathias Fredriksson
d7dee2c069
fix: Improve code coverage reporting in codecov ( #2715 )
...
* fix: Remove explicit coverpkg github.com/coder/coder/codersdk
This package is already covered by ./...
* fix: Ignore test utils in coverage (clitest, coderdtest, ptytest)
2022-07-25 19:55:19 +03:00
Ammar Bandukwala
54547a4e9a
ci: fix postgres skipper ( #3157 )
2022-07-24 19:58:20 +00:00
Ammar Bandukwala
60de8d0279
ci: add skip directives for long tests ( #3151 )
...
This PR introduces many CI optimizations:
1. The `[ci-skip]` PR body directive to skip the Postgres and end to end tests
2. Improved caching that cuts the Go test matrix in half
3. Increasing Go test parallelism for ~20% gains
4. Enable caching in webpack (4x frontend build)
2022-07-24 14:33:58 -05:00
Ammar Bandukwala
5578facf8f
Fix stalebot ( #3156 )
2022-07-24 19:32:41 +00:00
Ammar Bandukwala
e4251af8f3
ci: configure stale bot some more ( #3148 )
2022-07-23 16:37:19 -05:00
Ammar Bandukwala
3eb6f28d81
ci: fix master build
2022-07-23 21:36:15 +00:00
Ammar Bandukwala
d10513f43a
ci: optimize jobs with path filtering ( #3074 )
2022-07-23 21:33:25 +00:00
Ammar Bandukwala
257e52e014
ci: aggressively close stale PRs ( #3146 )
2022-07-23 14:57:35 -05:00
Mathias Fredriksson
75ff579051
fix: Decrease postgres test timeout (make test-postgres) ( #3108 )
...
This commit lowers the postgres test timeout from 30m to 20m, currently
our postgres tests seem to take 8-10m, a 2x factor should suffice.
Comments were updated in both places to reflect the reasoning and
necessity of keeping these values in sync.
They used to take longer but the `count` was lowered in
3d40cb85b7 .
The actual timeout value of `make test-postgres` got overlooked in
https://github.com/coder/coder/pull/3079 .
2022-07-22 12:47:03 +03:00
Mathias Fredriksson
4a7d067c6c
fix: Increase CI timeout for postgres test ( #3079 )
...
The Go test timeout uses 20m, if we want to get a stack trace, we must
allow the actions worker to run longer than that.
2022-07-20 19:09:26 +00:00
Mathias Fredriksson
96edc8af9a
fix: Add continue-on-error to codecov action step ( #3081 )
...
Avoid relying on codecov to manage action step failure, hopefully works
around:
https://github.com/codecov/codecov-action/issues/788
2022-07-20 19:04:40 +00:00
Ammar Bandukwala
b0c26745fb
ci: fix stale issue workflow ( #3073 )
2022-07-20 17:24:30 +00:00
Ammar Bandukwala
cf9bc71c03
ci: skip long jobs when only docs change ( #3072 )
2022-07-20 16:47:41 +00:00