gitlab 安装
目前使用中感觉亮眼的功能:
1作为私有代码仓库
2软件项目管理
3持续集成
安装:
1作为私有代码仓库
2软件项目管理
3持续集成
安装:
1.环境 至少要4G内存
2.直接下载虚机映像:
https://downloads.bitnami.com/files/stacks/gitlab/11.11.3-0/bitnami-gitlab-11.11.3-0-r56-linux-debian-9-x86_64.zip
3.修改密码
sudo su
passwd
4.配置邮箱: https://docs.bitnami.com/general/apps/gitlab/configuration/configure-smtp/
QQ邮箱: https://www.viphper.com/1448.html
错误检查: https://docs.gitlab.com/ee/administration/troubleshooting/debug.html
3.修改密码
sudo su
passwd
4.配置邮箱: https://docs.bitnami.com/general/apps/gitlab/configuration/configure-smtp/
QQ邮箱: https://www.viphper.com/1448.html
错误检查: https://docs.gitlab.com/ee/administration/troubleshooting/debug.html
5.关闭用户自行注册功能(必须管理员创建帐号) 菜单条(搬手图标)AdminArea->setting->Sign-up restrictions
如果要开启ssh服务,参见: https://docs.bitnami.com/virtual-machine/faq/get-started/enable-ssh/
自定义安装,参见:https://about.gitlab.com/install/#centos-7
1. 安装gitlab https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package
2. 安装gitlab runner https://docs.gitlab.com/runner/install/linux-manually.html
3. 配置gitlab runner https://docs.gitlab.com/runner/register/index.html
4. 安装git yum install git
6.CI持续集成文章和示例
文章:https://blinkfox.github.io/2018/11/22/ruan-jian-gong-ju/devops/gitlab-ci-jie-shao-he-shi-yong/
https://docs.gitlab.com/ce/ci/yaml/README.html
示例:https://dotnetthoughts.net/building-dotnet-with-gitlab-ci/
.net core示例:https://gitlab.com/gitlab-org/gitlab-ce/issues/46892
http://www.ttlsa.com/docker/use-gitlab-ci-to-automatically-create-docker-images/
7.集成 plantuml
https://blog.csdn.net/aixiaoyang168/article/details/76888254
如果要开启ssh服务,参见: https://docs.bitnami.com/virtual-machine/faq/get-started/enable-ssh/
自定义安装,参见:https://about.gitlab.com/install/#centos-7
1. 安装gitlab https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package
2. 安装gitlab runner https://docs.gitlab.com/runner/install/linux-manually.html
3. 配置gitlab runner https://docs.gitlab.com/runner/register/index.html
4. 安装git yum install git
6.CI持续集成文章和示例
文章:https://blinkfox.github.io/2018/11/22/ruan-jian-gong-ju/devops/gitlab-ci-jie-shao-he-shi-yong/
https://docs.gitlab.com/ce/ci/yaml/README.html
示例:https://dotnetthoughts.net/building-dotnet-with-gitlab-ci/
.net core示例:https://gitlab.com/gitlab-org/gitlab-ce/issues/46892
http://www.ttlsa.com/docker/use-gitlab-ci-to-automatically-create-docker-images/
7.集成 plantuml
https://blog.csdn.net/aixiaoyang168/article/details/76888254
浙公网安备 33010602011771号