Mathias Fredriksson
608eb322a8
chore: Add .editorconfig, shfmt, shellcheck and subshell dir changes ( #1649 )
2022-05-27 20:15:19 +03:00
G r e y
b6d6276149
ci: disable chromatic on forks ( #1806 )
2022-05-26 20:27:32 +00:00
Garrett Delfosse
4d6e8526a8
chore: tolerate codecov failures in CI ( #1798 )
2022-05-26 14:48:34 -05:00
Kyle Carberry
4d9168c076
fix: Increase release timeout ( #1729 )
...
This is unfortunate, but with the containers it can take a while.
We should spend some time making these parallel in the future,
but for now this is fine!
2022-05-24 16:54:27 -05:00
G r e y
104c76b8bc
ci: limit chromatic to site ( #1700 )
2022-05-24 14:30:15 -04: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]
5447c4a3cf
chore: bump docker-practice/actions-setup-docker from 1.0.8 to 1.0.10 ( #1469 )
...
Bumps [docker-practice/actions-setup-docker](https://github.com/docker-practice/actions-setup-docker ) from 1.0.8 to 1.0.10.
- [Release notes](https://github.com/docker-practice/actions-setup-docker/releases )
- [Changelog](https://github.com/docker-practice/actions-setup-docker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker-practice/actions-setup-docker/compare/v1.0.8...1.0.10 )
---
updated-dependencies:
- dependency-name: docker-practice/actions-setup-docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 12:10:28 -05:00
dependabot[bot]
1e25bf2455
chore: bump docker/login-action from 1 to 2 ( #1470 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-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-16 12:09:11 -05: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]
02087db65a
chore: bump docker/setup-qemu-action from 1 to 2 ( #1471 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-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-16 08:36:12 -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
Ben Potter
75a5877c1d
fix: remove docker release flake ( #1412 )
2022-05-12 15:44:46 -05:00
Ben Potter
bbb8f836bf
feat: build & release cross-platform Docker images ( #1178 )
...
* feat: add dockerfile and docker-compose
* build docker images on release
* add Docker dependencies to release.yaml
* remove docker compose for now
* fix license mismatch
* add docker-compose
* rename volume
* add WF dispatch for debugging
2022-05-12 17:59:34 +00: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
e860cc4814
fix: Build site in release ( #1283 )
...
This was using Mac Make, which is missing some options:
https://github.com/coder/coder/runs/6265845123?check_suite_focus=true#step:10:6
2022-05-04 14:23:48 +00: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
Colin Adler
81bef1c83e
feat: add audit logging database schema ( #1225 )
2022-05-02 19:30:46 +00:00
Kyle Carberry
e4e60256ac
fix: Use "make build" on deploy ( #1261 )
...
This was a missed item in https://github.com/coder/coder/pull/1259 .
2022-05-02 14:04:45 -05:00
dependabot[bot]
1e6f2cf750
chore: bump hashicorp/setup-terraform from 1 to 2 ( #1130 )
...
Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform ) from 1 to 2.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases )
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
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-04-25 12:59:47 -05:00
dependabot[bot]
8c27b4e23d
chore: bump jaxxstorm/action-install-gh-release from 1.4.0 to 1.5.0 ( #1131 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.4.0...v1.5.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-04-25 11:17:15 -05:00
Steven Masley
da3681246e
chore: Bump protoc to 3.20.0 ( #1104 )
...
* chore: Bump protoc to 3.20.0
* Make gen with 3.20.0 protoc
2022-04-23 01:53:22 +00:00
Garrett Delfosse
f46b4cf3da
feat: generate typescript types from codersdk structs ( #1047 )
2022-04-19 00:45:22 +00:00
Kyle Carberry
d202f20fdb
feat: Add TURN proxying to enable offline deployments ( #1000 )
...
* Add turnconn
* Add option for passing ICE servers
* Log TURN remote address
* Add TURN server to coder start
2022-04-18 22:40:25 +00:00
Kyle Carberry
866205c145
feat: Sign MacOS binaries ( #1060 )
...
This fixes virus warnings when launching Coder on darwin.
2022-04-18 14:57:41 -05:00
Kyle Carberry
6dedd0caac
ci: Don't run internal steps if forked ( #1048 )
...
This was causing CI to fail for contributions.
2022-04-16 13:51:01 -04:00
Colin Adler
a13cceea3b
chore: run github actions on pull_request instead of push ( #1035 )
2022-04-15 15:55:13 -04:00
G r e y
f3f39f3770
ci: remove building from test/js ( #1005 )
...
Summary:
There's no reason to build in `test/js`, since we have e2e tests that build.
Details:
- Remove superfluous `yarn build` from `test/js` step in CI
Relates to #1004 but does not fix it.
2022-04-14 16:32:34 +00:00
Kyle Carberry
4f0f216015
ci: Add timeouts to limit hanging execution ( #976 )
...
For some reason, CI hung for ~6hours last night on `main`.
https://github.com/coder/coder/runs/5982978236?check_suite_focus=true
The fact that it went this long is bad, but it should have cancelled
much earlier.
2022-04-12 09:35:17 -05:00
Kyle Carberry
e8b1a57929
feat: Add support for VS Code and JetBrains Gateway via SSH ( #956 )
...
* Improve CLI documentation
* feat: Allow workspace resources to attach multiple agents
This enables a "kubernetes_pod" to attach multiple agents that
could be for multiple services. Each agent is required to have
a unique name, so SSH syntax is:
`coder ssh <workspace>.<agent>`
A resource can have zero agents too, they aren't required.
* Add tree view
* Improve table UI
* feat: Allow workspace resources to attach multiple agents
This enables a "kubernetes_pod" to attach multiple agents that
could be for multiple services. Each agent is required to have
a unique name, so SSH syntax is:
`coder ssh <workspace>.<agent>`
A resource can have zero agents too, they aren't required.
* Rename `tunnel` to `skip-tunnel`
This command was `true` by default, which causes
a confusing user experience.
* Add disclaimer about editing templates
* Add help to template create
* Improve workspace create flow
* Add end-to-end test for config-ssh
* Improve testing of config-ssh
* Fix workspace list
* feat: Add support for VS Code and JetBrains Gateway via SSH
This fixes various bugs that made this not work:
- Incorrect max message size in `peer`
- Incorrect reader buffer size in `peer`
- Lack of SFTP support in `agent`
- Lack of direct-tcpip support in `agent`
- Misuse of command from session. It should always use the shell
- Blocking on SSH session, only allowing one at a time
Fixes #833 too.
* Fix config-ssh command with socat
2022-04-12 00:17:18 +00:00
dependabot[bot]
9474f66d27
chore: bump actions/setup-go from 2 to 3 ( #948 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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-04-11 08:54:24 -05:00
dependabot[bot]
2e5859f226
chore: bump codecov/codecov-action from 2 to 3 ( #898 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-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-04-07 11:41:35 -05:00
Kyle Carberry
770d212094
ci: Enable forks to run CI ( #910 )
...
* ci: Enable forks to run CI
All steps that require tokens are optional for forks,
and will be skipped if the owner is not "coder".
* Empty commit to force CI
2022-04-07 08:33:10 -05:00
G r e y
579fd4bc89
chore: speed up chromatic ci ( #904 )
...
This is an oversight from #896 . It turns out that because we use the GitHub integration with Chromatic, we don't need to wait for the results to be reported in the action - they get reported in the other checks created by Chromatic.
This option was spit-out in a check:
https://github.com/coder/coder/runs/5859427236?check_suite_focus=true#step:4:38
Relates to #444
2022-04-06 22:40:30 +00:00
G r e y
5782879f2f
chore: configure chromatic snapshot tests ( #896 )
...
Resolves : #444
Summary:
This commit installs and configures a GH action for chromatic. Chromatic
is used for snapshot testing build-over-build.
Details:
* chore: install chromatic
* chore: add chromatic package.json script
Suggested by the docs for convenience so that we can run chromatic like:
```console
yarn run chromatic ...
```
* chore: gitignore storybook builds
* ci: configure chromatic
This action configures chromatic to run in CI on pushes to all branches.
By running this in CI, we get the following:
- snapshot (build-over-build)
- checks in our CI
The snapshots and build-over-build behavior are per branch; this way we
can work on a feature branch without worrying about changes being made
to mainline independently.
* chore: remove manual storybook build from CI
This is now the responsibility of Chromatic
2022-04-06 17:51:49 -04:00
Colin Adler
fd523100bf
chore: split queries.sql into files by table ( #762 )
2022-04-01 15:45:23 -05:00
Kyle Carberry
b2261030e6
fix: Build site in release process ( #785 )
...
The static site wasn't building prior, so authenticating via CLI was broken!
2022-03-31 18:44:19 +00:00
Colin Adler
b33e457f57
chore: use go 1.18 everywhere in ci ( #641 )
...
Somehow I missed these?
2022-03-29 19:10:22 +00:00
Colin Adler
be8389fd74
chore: update to go 1.18 ( #628 )
...
* add make lint to Makefile
2022-03-28 19:14:40 +00:00
Kyle Carberry
d371a66447
ci: Fix dogfood installation by forcing default configurations ( #557 )
...
* ci: Fix dogfood installation by forcing default configurations
The dpkg prompt to override config files was
appearing, but this will auto-approve it.
* Add CAP_NET_BIND_SERVICE to allow listening on :443
2022-03-24 15:02:09 -05:00
Kyle Carberry
bf00487174
feat: Add TLS support ( #556 )
...
* feat: Add TLS support
This adds numerous flags with inspiration taken from Vault
for configuring TLS inside Coder.
This enables secure deployments without a proxy, like Cloudflare.
* Update cli/start.go
Co-authored-by: Colin Adler <colin@coder.com >
* Fix flag help in coder.env
Co-authored-by: Colin Adler <colin@coder.com >
2022-03-24 14:21:05 -05:00
Kyle Carberry
ddd86ab547
feat: Add systemd service and production deployment ( #545 )
...
* feat: Add systemd service and production deployment
This modifies CI to use a dpkg produced from release to update and
run Coder on a tiny VM in GCP.
It's intentionally kept simple, because customers should
be able to get this same easy install experience.
* Update globalSetup.ts
* Update globalSetup.ts
* Update globalSetup.ts
* Update coder.yaml
* Use pinned version of Go
2022-03-24 15:07:33 +00:00