dependabot[bot]
f5757ffb0d
chore: bump google.golang.org/api from 0.73.0 to 0.74.0 ( #771 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.73.0 to 0.74.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.73.0...v0.74.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-03-31 09:42:41 -05:00
Kyle Carberry
6612e3c9c7
feat: Add config-ssh command ( #735 )
...
* feat: Add config-ssh command
Closes #254 and #499 .
* Fix Windows support
2022-03-30 17:59:54 -05:00
dependabot[bot]
4362f5fa3d
chore: bump github.com/charmbracelet/charm from 0.10.3 to 0.11.0 ( #728 )
...
Bumps [github.com/charmbracelet/charm](https://github.com/charmbracelet/charm ) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/charmbracelet/charm/releases )
- [Changelog](https://github.com/charmbracelet/charm/blob/main/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/charm/compare/v0.10.3...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/charm
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-03-30 08:53:20 -05:00
dependabot[bot]
f0dccd8c1e
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.37.0 to 1.37.1 ( #727 )
...
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go ) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases )
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.37.0...v1.37.1 )
---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
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-03-30 08:52:22 -05:00
dependabot[bot]
8c0f109240
chore: bump github.com/gohugoio/hugo from 0.95.0 to 0.96.0 ( #622 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.95.0 to 0.96.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.95.0...v0.96.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
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-03-29 19:33:27 +00:00
Kyle Carberry
82dfd6c72f
feat: Add UI for awaiting agent connections ( #578 )
...
* feat: Add stage to build logs
This adds a stage property to logs, and refactors the job logs
cliui.
It also adds tests to the cliui for build logs!
* feat: Add stage to build logs
This adds a stage property to logs, and refactors the job logs
cliui.
It also adds tests to the cliui for build logs!
* feat: Add config-ssh and tests for resiliency
* Rename "Echo" test to "ImmediateExit"
* Fix Terraform resource agent association
* Fix logs post-cancel
* Fix select on Windows
* Remove terraform init logs
* Move timer into it's own loop
* Fix race condition in provisioner jobs
* Fix requested changes
2022-03-28 19:19:28 -05:00
Garrett Delfosse
bd20d9ee7f
feat: Add datadog tracing to http middleware ( #530 )
...
* add datadog tracing to http handlers
2022-03-28 22:11:52 +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
dependabot[bot]
2e0715375e
chore: bump github.com/creack/pty from 1.1.17 to 1.1.18 ( #623 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.17 to 1.1.18.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.17...v1.1.18 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
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-03-28 09:33:03 -05:00
dependabot[bot]
565b9403e4
chore: bump github.com/moby/moby ( #549 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 20.10.13+incompatible to 20.10.14+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moby/moby/compare/v20.10.13...v20.10.14 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
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-03-24 11:28:21 -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
dependabot[bot]
305b67c668
chore: bump github.com/pion/webrtc/v3 from 3.1.26 to 3.1.27 ( #534 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.26 to 3.1.27.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.26...v3.1.27 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
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-03-23 10:59:30 -05:00
dependabot[bot]
ebae1b9af9
chore: bump github.com/gohugoio/hugo from 0.94.0 to 0.95.0 ( #527 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.94.0 to 0.95.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.94.0...v0.95.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
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-03-22 14:51:15 -05:00
dependabot[bot]
5af2ab9d0e
chore: bump github.com/quasilyte/go-ruleguard/dsl from 0.3.17 to 0.3.19 ( #526 )
...
Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard ) from 0.3.17 to 0.3.19.
- [Release notes](https://github.com/quasilyte/go-ruleguard/releases )
- [Commits](https://github.com/quasilyte/go-ruleguard/compare/dsl/v0.3.17...dsl/v0.3.19 )
---
updated-dependencies:
- dependency-name: github.com/quasilyte/go-ruleguard/dsl
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-03-22 14:50:55 -05:00
Kyle Carberry
c451f4e685
feat: Add templates to create working release ( #422 )
...
* Add templates
* Move API structs to codersdk
* Back to green tests!
* It all works, but now with tea! 🧋
* It works!
* Add cancellation to provisionerd
* Tests pass!
* Add deletion of workspaces and projects
* Fix agent lock
* Add clog
* Fix linting errors
* Remove unused CLI tests
* Rename daemon to start
* Fix leaking command
* Fix promptui test
* Update agent connection frequency
* Skip login tests on Windows
* Increase tunnel connect timeout
* Fix templater
* Lower test requirements
* Fix embed
* Disable promptui tests for Windows
* Fix write newline
* Fix PTY write newline
* Fix CloseReader
* Fix compilation on Windows
* Fix linting error
* Remove bubbletea
* Cleanup readwriter
* Use embedded templates instead of serving over API
* Move templates to examples
* Improve workspace create flow
* Fix Windows build
* Fix tests
* Fix linting errors
* Fix untar with extracting max size
* Fix newline char
2022-03-22 13:17:50 -06:00
dependabot[bot]
43d433cde1
chore: bump google.golang.org/protobuf from 1.27.1 to 1.28.0 ( #521 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-03-22 15:37:53 +00:00
dependabot[bot]
b55a67a36c
chore: bump github.com/quasilyte/go-ruleguard/dsl from 0.3.17 to 0.3.18 ( #505 )
...
Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/quasilyte/go-ruleguard/releases )
- [Commits](https://github.com/quasilyte/go-ruleguard/compare/dsl/v0.3.17...dsl/v0.3.18 )
---
updated-dependencies:
- dependency-name: github.com/quasilyte/go-ruleguard/dsl
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-03-22 00:02:02 +00:00
dependabot[bot]
d11079d337
chore: bump storj.io/drpc from 0.0.29 to 0.0.30 ( #482 )
...
Bumps [storj.io/drpc](https://github.com/storj/drpc ) from 0.0.29 to 0.0.30.
- [Release notes](https://github.com/storj/drpc/releases )
- [Commits](https://github.com/storj/drpc/compare/v0.0.29...v0.0.30 )
---
updated-dependencies:
- dependency-name: storj.io/drpc
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-03-21 23:41:57 +00:00
dependabot[bot]
88d0abb8e6
chore: bump github.com/pion/webrtc/v3 from 3.1.25 to 3.1.26 ( #504 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.25 to 3.1.26.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.25...v3.1.26 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
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-03-21 18:25:39 -05:00
dependabot[bot]
d875298c0e
chore: bump github.com/moby/moby ( #419 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 20.10.12+incompatible to 20.10.13+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moby/moby/compare/v20.10.12...v20.10.13 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
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-03-17 23:37:59 +00:00
dependabot[bot]
22a050d547
chore: bump google.golang.org/api from 0.72.0 to 0.73.0 ( #449 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.72.0 to 0.73.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.72.0...v0.73.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-03-17 23:28:42 +00:00
dependabot[bot]
360e1a3ce6
chore: bump github.com/stretchr/testify from 1.7.0 to 1.7.1 ( #448 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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-03-17 23:18:22 +00:00
dependabot[bot]
c3ccaccf32
chore: bump github.com/pion/webrtc/v3 from 3.1.24 to 3.1.25 ( #450 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.24 to 3.1.25.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.24...v3.1.25 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
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-03-16 15:16:19 +00:00
Colin Adler
238251b83f
chore: update golang.org/x/crypto ( #447 )
...
See https://groups.google.com/g/golang-dev/c/me_6GQsdvHE/m/QFRpi96JAgAJ
2022-03-15 22:00:33 +00:00
dependabot[bot]
64f9e69978
chore: bump google.golang.org/api from 0.71.0 to 0.72.0 ( #441 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.71.0...v0.72.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-03-15 09:25:41 -05:00
dependabot[bot]
f500b5e2dd
chore: bump github.com/spf13/cobra from 1.3.0 to 1.4.0 ( #418 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
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-03-11 08:27:19 -06:00
dependabot[bot]
ac387a1410
chore: bump github.com/go-playground/validator/v10 ( #409 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.10.0 to 10.10.1.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.10.0...v10.10.1 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
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>
Co-authored-by: Kyle Carberry <kyle@coder.com >
2022-03-08 13:24:12 -06:00
dependabot[bot]
3aa8bb80fc
chore: bump google.golang.org/api from 0.70.0 to 0.71.0 ( #414 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.70.0 to 0.71.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.70.0...v0.71.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-03-08 19:09:09 +00:00
Kyle Carberry
1d889c3c21
fix: Update ICE dependency to fix test flake ( #413 )
...
https://github.com/coder/coder/runs/5468864058?check_suite_focus=true#step:7:148
2022-03-08 18:57:28 +00:00
Kyle Carberry
3eb6fb75d6
feat: Automate releases with goreleaser ( #404 )
2022-03-07 19:50:37 -06:00
Kyle Carberry
bf0ae8f573
feat: Refactor API routes to use UUIDs instead of friendly names ( #401 )
...
* Add client for agent
* Cleanup code
* Fix linting error
* Rename routes to be simpler
* Rename workspace history to workspace build
* Refactor HTTP middlewares to use UUIDs
* Cleanup routes
* Compiles!
* Fix files and organizations
* Fix querying
* Fix agent lock
* Cleanup database abstraction
* Add parameters
* Fix linting errors
* Fix log race
* Lock on close wait
* Fix log cleanup
* Fix e2e tests
* Fix upstream version of opencensus-go
* Update coderdtest.go
* Fix coverpkg
* Fix codecov ignore
2022-03-07 11:40:54 -06:00
Kyle Carberry
bd0293aff9
fix: Convert all jobs to use a common resource and agent type ( #369 )
...
* ci: Update DataDog GitHub branch to fallback to GITHUB_REF
This was detecting branches, but not our "main" branch before.
Hopefully this fixes it!
* Add basic Terraform Provider
* Rename post files to upload
* Add tests for resources
* Skip instance identity test
* Add tests for ensuring agent get's passed through properly
* Fix linting errors
* Add echo path
* Fix agent authentication
* fix: Convert all jobs to use a common resource and agent type
This enables a consistent API for project import and provisioned resources.
2022-02-28 18:00:52 +00:00
Kyle Carberry
35ae532f7c
feat: Add Terraform Provider for agent resources ( #368 )
...
* ci: Update DataDog GitHub branch to fallback to GITHUB_REF
This was detecting branches, but not our "main" branch before.
Hopefully this fixes it!
* Add basic Terraform Provider
* Rename post files to upload
* Add tests for resources
* Skip instance identity test
* Add tests for ensuring agent get's passed through properly
* Fix linting errors
* Add echo path
* Fix agent authentication
* Update codersdk/files.go
Co-authored-by: Bryan <bryan@coder.com >
Co-authored-by: Bryan <bryan@coder.com >
2022-02-28 17:16:44 +00:00
dependabot[bot]
b913ea85e1
chore: bump cloud.google.com/go/compute from 1.4.0 to 1.5.0 ( #355 )
...
Bumps [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.4.0...pubsub/v1.5.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
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-02-24 10:28:42 -06:00
dependabot[bot]
a053fe84eb
chore: bump google.golang.org/api from 0.69.0 to 0.70.0 ( #350 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.69.0...v0.70.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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>
Co-authored-by: Jonathan Yu <jonathan@coder.com >
2022-02-23 07:54:39 -08:00
dependabot[bot]
06b1af12e9
chore: bump cloud.google.com/go/compute from 1.3.0 to 1.4.0 ( #351 )
...
Bumps [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.3.0...pubsub/v1.4.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
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>
Co-authored-by: Jonathan Yu <jonathan@coder.com >
2022-02-23 07:37:41 -08:00
dependabot[bot]
480d625da5
chore: bump github.com/pion/webrtc/v3 from 3.1.23 to 3.1.24 ( #352 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.23 to 3.1.24.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.23...v3.1.24 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
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-02-23 08:36:26 -06:00
Kyle Carberry
8958b641e9
feat: Add agent authentication based on instance ID ( #336 )
...
* feat: Add agent authentication based on instance ID
Each cloud has it's own unique instance identity signatures, which
can be used for zero-token authentication. This change adds support
for tracking by "instance_id", and automatically authenticating
with Google Cloud.
* Add test for CLI
* Fix workspace agent request name
* Fix race with adding to wait group
* Fix name of instance identity token
2022-02-21 20:36:29 +00:00
Kyle Carberry
693f457cf4
fix: Use forked pion/ice to fix Close() data race ( #342 )
...
I introduced a data-race in my fork while fixing the close race.
This is fixed now, and contributed upstream!
2022-02-21 10:47:32 -06:00
Kyle Carberry
c85933fe07
fix: Use forked pion/ice to fix Close() race ( #341 )
...
Closes #340 . A PR is upstream to fix the issue!
2022-02-21 09:56:14 -06:00
Kyle Carberry
91bf8636fb
feat: Add workspace agent for SSH ( #318 )
...
* feat: Add workspace agent for SSH
This adds the initial agent that supports TTY
and execution over SSH. It functions across MacOS,
Windows, and Linux.
This does not handle the coderd interaction yet,
but does setup a simple path forward.
* Fix pty tests on Windows
* Fix log race
* Lock around dial error to fix log output
* Fix context return early
* fix: Leaking yamux session after HTTP handler is closed
Closes #317 . We depended on the context canceling the yamux connection,
but this isn't a sync operation. Explicitly calling close ensures the
handler waits for yamux to complete before exit.
* Lock around close return
* Force failure with log
* Fix failed handler
* Upgrade dep
* Fix defer inside loops
* Fix context cancel for HTTP requests
* Fix resize
2022-02-18 23:13:32 -06:00
Jonathan Yu
5ef59e7b64
chore: switch from memfs to fstest.MapFS ( #327 )
...
* Switch from memfs to built-in fstest.MapFS
* Ensure httptest servers are closed during test cleanup
* Swap ordering of expected/actual values in assertion functions
* Use http.StatusOK constants for status codes
* Add a 1-second context timeout for each request
* Use the test httptest.Server.Client() so that we can handle
TLS server certificates if desired
2022-02-18 13:03:32 -08:00
Jonathan Yu
37bcfeb398
chore: upgrade docker distribution from 2.7.1 to 2.8.0 ( #328 )
...
Fixes a low-severity security vulnerability:
https://github.com/advisories/GHSA-qq97-vm5h-rrhg
2022-02-18 12:52:21 -08:00
Jonathan Yu
c59c0c9ba6
chore: run "go mod tidy" ( #323 )
...
Looks like our linter is missing this step.
2022-02-18 08:23:49 -08:00
Bryan
3f7781403d
feat: Login via CLI ( #298 )
...
Fixes #210 - this isPR implements `coder login` in the case where the default user is already created.
This change adds:
- A prompt in the case where there is not an initial user that opens the server URL + requests a session token
- This ports over some code from v1 for the `openURL` and `isWSL` functions to support opening the browser
- A `/api/v2/api-keys` endpoint that can be `POST`'d to in order to request a new api key for a user
- This route was inspired by the v1 functionality
- A `cli-auth` route + page that shows the generated api key
- Tests for the new code + storybook for the new UI
The `/cli-auth` route, like in v1, is very minimal:
<img width="624" alt="Screen Shot 2022-02-16 at 5 05 07 PM" src="https://user-images.githubusercontent.com/88213859/154384627-78ab9841-27bf-490f-9bbe-23f8173c9e97.png ">
And the terminal UX looks like this:

2022-02-17 20:09:33 -08:00
Kyle Carberry
503d09c149
feat: Add support for executing processes with Windows ConPty ( #311 )
...
* Initial agent
* fix: Use buffered reader in peer to fix ShortBuffer
This prevents a io.ErrShortBuffer from occurring when the byte
slice being read is smaller than the chunks sent from the opposite
pipe.
This makes sense for unordered connections, where transmission is
not guarunteed, but does not make sense for TCP-like connections.
We use a bufio.Reader when ordered to ensure data isn't lost.
* SSH server works!
* Start Windows support
* Something works
* Refactor pty package to support Windows spawn
* SSH server now works on Windows
* Fix non-Windows
* Fix Linux PTY render
* FIx linux build tests
* Remove agent and wintest
* Add test for Windows resize
* Fix linting errors
* Add Windows environment variables
* Add strings import
* Add comment for attrs
* Add goleak
* Add require import
2022-02-17 10:44:49 -06:00
dependabot[bot]
1759379ef5
chore: bump github.com/unrolled/secure from 1.0.9 to 1.10.0 ( #300 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.0.9 to 1.10.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.0.9...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
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-02-16 10:34:38 -08:00
dependabot[bot]
c5eed9015a
chore: bump github.com/quasilyte/go-ruleguard/dsl from 0.3.16 to 0.3.17 ( #280 )
...
Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/quasilyte/go-ruleguard/releases )
- [Commits](https://github.com/quasilyte/go-ruleguard/compare/dsl/v0.3.16...dsl/v0.3.17 )
---
updated-dependencies:
- dependency-name: github.com/quasilyte/go-ruleguard/dsl
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-02-14 09:42:10 -08:00
Kyle Carberry
154b9bce57
feat: Add "coder projects create" command ( #246 )
...
* Refactor parameter parsing to return nil values if none computed
* Refactor parameter to allow for hiding redisplay
* Refactor parameters to enable schema matching
* Refactor provisionerd to dynamically update parameter schemas
* Refactor job update for provisionerd
* Handle multiple states correctly when provisioning a project
* Add project import job resource table
* Basic creation flow works!
* Create project fully works!!!
* Only show job status if completed
* Add create workspace support
* Replace Netflix/go-expect with ActiveState
* Fix linting errors
* Use forked chzyer/readline
* Add create workspace CLI
* Add CLI test
* Move jobs to their own APIs
* Remove go-expect
* Fix requested changes
* Skip workspacecreate test on windows
2022-02-12 13:34:04 -06:00
Kyle Carberry
07fe5ced68
feat: Add "coder" CLI ( #221 )
...
* feat: Add "coder" CLI
* Add CLI test for login
* Add "bin/coder" target to Makefile
* Update promptui to fix race
* Fix error scope
* Don't run CLI tests on Windows
* Fix requested changes
2022-02-10 08:33:27 -06:00