Fix GitLab runner snippets to run as current user on Windows and Mac
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Bắt đầu với pkg/integrations/gitlab/snippet-darwin.sh và pkg/integrations/gitlab/snippet-windows.ps1, sau đó so sánh chúng với các snippet GitHub và Cirrus được tham chiếu. Xác minh rằng macOS LaunchDaemon và thiết lập Windows runner sử dụng người dùng hiện tại mà không gặp vấn đề về quyền do tài khoản có quyền nâng cao, đồng thời giữ nguyên hành vi hiện có của GitLab runner.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
As per https://github.com/redhat-developer/mapt/pull/711, more specifically GitLab runner snippets for Windows and Mac install as system services running under privileged accounts (SYSTEM/root), unlike other integrations (GitHub Actions, Cirrus) which run as the current user.
See related comment in PR: https://github.com/redhat-developer/mapt/pull/711#issuecomment-3785957041
Impact
- Permissions issues accessing user files/directories
- Different behavior than other CI runner integrations
- Security concerns running as elevated accounts
Solution
Update snippets to match pattern from GitHub/Cirrus integrations:
Mac (snippet-darwin.sh)
- Configure LaunchDaemon UserName to run as current user
- Similar to: pkg/integrations/github/snippet-darwin.sh line 10 or pkg/integrations/cirrus/snippet-darwin.sh lines 32-35
Windows (snippet-windows.ps1)
- Either use startup folder approach (like Cirrus)
- Or configure service to run as current user
Files
- pkg/integrations/gitlab/snippet-darwin.sh
- pkg/integrations/gitlab/snippet-windows.ps1
Reference
- GitHub snippet: pkg/integrations/github/snippet-darwin.sh
- Cirrus snippet: pkg/integrations/cirrus/snippet-darwin.sh
- Ngôn ngữ chính
- Go
- Star
- 26
- Fork
- 41
- Merge trung bình
- 3 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của redhat-developer/mapt
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
redhat-developer/mapt#997 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH keyCó thể làm lại được @abdulazeem-tk4vr đã nhận 167 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
redhat-developer/mapt#817 · 12 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
redhat-developer/mapt#991 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
openshift-snc: pick the latest published version when --version is not set (AWS and IBM Cloud)Đang mởenhancement provider/AWS provider/IBMCLOUD target/openshift-snc
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
redhat-developer/mapt#990 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/mapt#974 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của redhat-developer/mapt
Issue tương tự
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`Có thể đã có người làm @DavePearce đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS: MixMusic stalls as the GPU times out drawing frames, and the media keys fail to register at every startCó thể đã có người làm @fzn0x đã nhận hôm nay. Đang mởbug priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
funding: failure logs print `<nil>` error and zero channel IDCó thể đã có người làm @litbot-9000 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
lightningnetwork/lnd#11676 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort:s impact:low raised-by:reviewer risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
medici-finance/assay#8050 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày