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
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
Abhineet Jain
5ae19f097e
fix: chromatic workflow filter ( #3352 )
2022-08-02 04:23:32 -04: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
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
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
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
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
cf9bc71c03
ci: skip long jobs when only docs change ( #3072 )
2022-07-20 16:47:41 +00:00
Ketan Gangatirkar
ca90189a9b
fix: Upload the Windows .exe in CI ( #2833 )
...
Co-authored-by: kylecarbs <kyle@carberry.com>
2022-07-08 18:32:16 +00:00
Ketan Gangatirkar
88f852b42f
restore windows builds to CI ( #2827 )
...
restore windows builds to CI
2022-07-04 15:37:48 -05:00
Kyle Carberry
6429dfee1f
test: Use a template to prevent migrations from running for every test ( #2462 )
...
* test: Use a template to prevent migrations from running for every test
* Create a single makefile target
* Fix built-in race
* Extend timeout of built-in PostgreSQL fetch
2022-06-27 17:07:39 +00:00
Abhineet Jain
c6b1daabc5
feat: Download default terraform version when minor version mismatches ( #1775 )
2022-06-22 23:11:52 +00:00
Kyle Carberry
06ea7c8388
test: Remove max processes on Windows runner ( #2457 )
...
This was added because the runner was running out of memory.
It has potential to reduce our CI time significantly, so we'll
see if it still happens.
2022-06-21 12:04:27 -05:00
Mathias Fredriksson
e2785ada5e
feat: Compress and extract slim binaries with zstd ( #2533 )
...
Fixes #2202
Co-authored-by: Dean Sheather <dean@deansheather.com>
2022-06-21 19:53:36 +03:00
Dean Sheather
dc115688b8
fix: checkout tags in deploy job ( #2493 )
2022-06-18 22:16:14 +00:00
Dean Sheather
167ab281e4
fix: fix ERRPIPE in build scripts, fix deploy ( #2492 )
2022-06-18 21:47:37 +00:00
Dean Sheather
075e891f28
Remove goreleaser in favor of build scripts ( #2143 )
2022-06-19 05:47:10 +10:00
Kyle Carberry
5e673cc544
test: Increase timeouts to reduce flakes ( #2406 )
...
It's difficult to understand what's timing out due to a lock
vs. taking a long time. This should help resolve! 🕵️
2022-06-16 14:52:45 +00:00
Dean Sheather
7b76afb069
Revert split release ( #2139 )
...
* Revert "chore: ignore artifacts dir (#2132 )"
This reverts commit 27acb98571
.
* Revert "chore: split release workflow so the majority happens on Linux (#2092 )"
This reverts commit b87096b500
.
2022-06-07 20:57:32 +00:00
Dean Sheather
b87096b500
chore: split release workflow so the majority happens on Linux ( #2092 )
2022-06-07 15:24:46 +00:00
Kyle Carberry
5edd086b69
chore: Reduce deployment times by excluding Docker images ( #1945 )
...
* chore: Reduce deployment times by excluding Docker images
Only the Windows and Linux binaries are build during deploy, so we
can save many minutes by excluding Docker images.
* Stop docker image builds on snapshot
* Fix artifact upload
* Skip typecheck for release
* Flag deploy
2022-06-04 19:56:45 +00:00
Ben Potter
46ffb67d60
feat: one-line install script ( #1924 )
...
* feat: one-line install script
* remove homebrew support
* remove arch linux
* use proper filename for packages
* fix variable format
* fix systemd instructions
* fixes to standalone script
* fix missing var bugs
* fix standalone install
* fix for MacOS
* format
* fix armv7 assets and zips
* remove windows
* update install docs
* support external sources with shellcheck
* shfmt
* add external sources to GitHub action & unfold
* change wording
* first template docs
* default to /usr/local instead
* add option for binary name
2022-06-01 14:15:09 -05:00
Mathias Fredriksson
608eb322a8
chore: Add .editorconfig, shfmt, shellcheck and subshell dir changes ( #1649 )
2022-05-27 20:15:19 +03:00
Garrett Delfosse
4d6e8526a8
chore: tolerate codecov failures in CI ( #1798 )
2022-05-26 14:48:34 -05:00
dependabot[bot]
62acfc9a07
chore: bump goreleaser/goreleaser-action from 2 to 3 ( #1652 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 22:55:40 +00:00
dependabot[bot]
e9818d79da
chore: bump jaxxstorm/action-install-gh-release from 1.6.0 to 1.7.1 ( #1651 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.6.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: jaxxstorm/action-install-gh-release
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 17:47:38 -05:00
ketang
ba66052181
fix incorrect retention field on artifacts in coder.yaml
2022-05-23 14:13:05 -05:00
ketang
7de4cd6231
replace .deb artifact with Windows .zip
2022-05-23 13:54:13 -05:00
ketang
c543fca92f
add tar.gz to artifacts and a 7 day retention period to .deb
2022-05-23 13:35:25 -05:00
Cian Johnston
a8a8f9dbf3
chore: skip some flaky tests ( #1643 )
...
* chore: skip some flaky tests
* Update peer/conn_test.go
* add makefile targets, reduce parallelism in go test
2022-05-21 00:39:51 +01:00
Colin Adler
2a85d3d083
chore: unconditionally run all `make` cmds in CI ( #1608 )
2022-05-19 17:42:49 -05:00
David Wahler
0c4a65b113
fix: manually fix coderd/database/dump.sql and make style/gen check run more reliably ( #1607 )
2022-05-19 22:37:22 +00:00
dependabot[bot]
8ba18dd222
chore: bump jaxxstorm/action-install-gh-release from 1.5.0 to 1.6.0 ( #1472 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: jaxxstorm/action-install-gh-release
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 12:08:34 -05:00
dependabot[bot]
19a18164ec
chore: bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ( #1473 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 08:31:54 -05:00
Colin Adler
97a95f1377
chore: upgrade golangci-lint to v1.46.0 ( #1373 )
2022-05-10 16:04:23 -05:00
Kyle Carberry
4c35b8174a
fix: Prefix paths in find on macOS ( #1284 )
...
This fixes paths not resolving in macOS, causing
the build target to fail. This also renames the
site target to specify the index.html, which is
the output artifact of building the site.
2022-05-04 09:47:48 -05:00
Kyle Carberry
5dcaf940b6
fix: Build site in deploy ( #1265 )
2022-05-02 23:12:13 +00:00
Kyle Carberry
fc642edf51
fix: Use GoReleaser Action in deploy script ( #1263 )
...
This reduces conflictions with our Makefile, which is presently
primarily a user script.
2022-05-02 20:00:08 +00:00