Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个工具支持 gitlab runner 上的 CI 使用吗 #73

Open
jiehwa opened this issue Feb 20, 2024 · 3 comments
Open

这个工具支持 gitlab runner 上的 CI 使用吗 #73

jiehwa opened this issue Feb 20, 2024 · 3 comments

Comments

@jiehwa
Copy link

jiehwa commented Feb 20, 2024

如题,想要提升 gitlab runner ci 的构建速度,可以使用 rapid 吗

@killagu
Copy link
Contributor

killagu commented Feb 20, 2024

可以的。不过有个地方得优化下,因为 rapid 里默认用的是 registry.npmmirror.com 这个是国内的,github action 是海外的,网络上会有问题。

@jiehwa
Copy link
Author

jiehwa commented Feb 22, 2024

可以的。不过有个地方得优化下,因为 rapid 里默认用的是 registry.npmmirror.com 这个是国内的,github action 是海外的,网络上会有问题。

哦,那就没问题了,我这里说的是公司内的 gitlab,不是 github 哈,源也确实是用 registry.npmmirror.com 的

@killagu
Copy link
Contributor

killagu commented Feb 22, 2024

gitlab 使用得注意一下是不是容器运行环境?需要增加额外的 SYS_ADMIN 权限和挂载 /dev/fuse。

可以参考这篇文档 https://docs.gitlab.com/runner/configuration/advanced-configuration.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants