gitlab CI/CD的gitlab-runner构建项目(go web项目实战体验)

慈云数据 1年前 (2024-03-18) 技术支持 57 0

runner安装

runner时GitLab CI/CD得以实现的基础。

gitlab CI/CD的gitlab-runner构建项目(go web项目实战体验)
(图片来源网络,侵删)

Gitlab-runner安装

CentOS安装

gitlab CI/CD的gitlab-runner构建项目(go web项目实战体验)
(图片来源网络,侵删)
# Replace ${arch} with any of the supported architectures, e.g. amd64, arm, arm64
# A full list of architectures can be found here https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html
curl -LJO "HTTPS://gitlab-runner-downloads.s3.amazonaws.com/latest/rpm/gitlab-runner_${arch}.rpm"
rpm -i gitlab-runner_.rpm
# 或者命令行
微信扫一扫加客服

微信扫一扫加客服