coder / coder/cloud-agent

Publish Windows releases (cloud-agent)

Đang mở
#17 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
13
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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:
1. Install go
2. Install code-server via yarn/npm (if you haven't already)
3. Clone this repo:
```console
git clone https://github.com/cdr/cloud-agent.git
cd cloud-agent
```
4. Build cloud-agent and move to the global module.

Replace `v0.2.3` with the latest cloud-agent [release tag](https://github.com/cdr/cloud-agent/releases):
```console
# 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"
````

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách xác định workflow release hoặc build hiện tại của repository và so sánh nó với Go workaround đã được ghi lại, bao gồm tên tệp thực thi Windows và linker flag của version-tag. Công việc được xem là hoàn tất khi một Windows release artifact được phát hành để người dùng có thể chạy --link mà không cần tự build cloud-agent.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
release
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.