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
Kyle Carberry
da7ed8b292
chore: Ignore scripts from code coverage ( #1878 )
...
Our CI scripts don't need to have thorough tests, and aren't
in the hot path of the product.
2022-05-27 22:25:24 +00:00
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
David Wahler
f8410dee3a
fix: include subdirectories in example templates ( #1715 )
2022-05-25 10:34:28 -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
Ammar Bandukwala
33e2e40942
Expand stalebot to issues ( #1672 )
...
Removing old, stale issues is essential to keeping a workable tracker.
2022-05-24 10:03:43 -07: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
G r e y
a64ab6538e
chore: update CODEOWNERS ( #1600 )
...
Resolves : #1559
2022-05-19 16:26:39 -05: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
Ammar Bandukwala
4cfc9af442
Fix codecov ( #1447 )
...
The notify block was syntactically invalid, preventing
any of this file from working.
2022-05-14 00:33:58 +00: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
Ben Potter
537897c0bb
chore: add "needs grooming" label to new issues ( #1384 )
2022-05-11 14:35:58 -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
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
Joe Previte
db1127def1
chore: assign site/ to frontend ( #1091 )
2022-04-19 11:30:55 -07: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
G r e y
148e7cddd3
chore: update semantic types ( #1030 )
...
Summary:
PRs like #1025 feel like they deserve a doc: type, but we didn't have one.
Furthermore our definitions for correct and fix were stale.
2022-04-15 16:26:20 -04:00
Colin Adler
a13cceea3b
chore: run github actions on pull_request instead of push ( #1035 )
2022-04-15 15:55:13 -04:00
Colin Adler
732e0f063a
chore: add dependabot config for terraform examples ( #1014 )
2022-04-14 16:14:49 -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
G r e y
78e727a1c4
chore: consolidate js, ts/js labels ( #957 )
...
Dependabot automagically applies the `javascript` label, but we use `typescript/js` elsewhere.
2022-04-11 18:29:35 +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