查看gitlab日志
sudo gitlab-ctl tail
查看gitlab版本号
cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
编辑gitlab配置文件
sudo vi /etc/gitlab/gitlab.rb
重置gitlab配置
gitlab-ctl reconfigure
进去gitlab命令行,测试邮件发送
gitlab-rails console
Notify.test_email('admin@jangrui.com', 'Message Subject', 'Message Hello Gitlab').deliver_now
添加gitlab-runner版本库
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
安装gitlab-runner
sudo yum install gitlab-runner
查看可用的gitlab-runner版本
yum list gitlab-runner --showduplicates | sort -r
安装特定额gitlab-runner版本
yum list gitlab-runner --showduplicates | sort -r
(责任编辑:IT) |