cloud-agent
cloud-agent copied to clipboard
Publish Windows releases (cloud-agent)
Related to cdr/code-server#1397.
This will make it possible to run --link with Windows out of the box.
A current workaround (for --link on Windows) is to build it manually:
-
Install go
-
Install code-server via yarn/npm (if you haven't already)
-
Clone this repo:
git clone https://github.com/cdr/cloud-agent.git cd cloud-agent
-
Build cloud-agent and move to the global module.
Replace
v0.2.3
with the latest cloud-agent release tag:# if you installed via yarn go build -v -o $(yarn global dir)/node_modules/code-server/lib/coder-cloud-agent.exe -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=v0.2.3" # if you installed via npm go build -v -o $(npm config get prefix)/node_modules/code-server/lib/coder-cloud-agent.exe -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=v0.2.3"
How about FreeBSD?
root@TaipanBSD:~/Git/cloud-agent # code-server --link
[2022-06-25T22:08:59.219Z] info code-server 4.4.0 b088ec7adf9e17bc75215f79e21498eb40da03ed
[2022-06-25T22:08:59.221Z] info Using user-data-dir ~/.local/share/code-server
[2022-06-25T22:08:59.228Z] info Using config file ~/.config/code-server/config.yaml
[2022-06-25T22:08:59.229Z] info HTTP server listening on http://127.0.0.1:12098/ (randomized by --link)
[2022-06-25T22:08:59.229Z] info - Authentication is disabled (disabled by --link)
[2022-06-25T22:08:59.229Z] info - Not serving HTTPS (disabled by --link)
[2022-06-25T22:08:59.756Z] info Detected an acceptable latency of 66ms
[2022-06-25T22:08:59.867Z] info Failed to login: unable to login: Agent version () is incompatible. Version v0.2.1 or later is required. Try updating to the latest release at https://github.com/cdr/code-server/releases
This project is no longer being actively worked unfortunately.