四.运维平台之项目管理系统

gitlab服务器搭建--腾讯云:

[root@VM_0_5_centos ~]#rz
[root@VM_0_5_centos ~]#yum install gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
[root@VM_0_5_centos ~]#vi /etc/gitlab/gitlab.rb
    external_url 'http://120.53.122.**'
[root@VM_0_5_centos ~]#gitlab-ctl reconfigure
[root@VM_0_5_centos ~]#gitlab-ctl start
[root@VM_0_5_centos ~]#gitlab-ctl status
访问gitlab服务器http://120.53.122.**/
获取Gitlab项目的Token
:

1.打开所需要Token的项目的主页进入CI/CD setting
Setting -> CI/CD -> Genneral pioelines settings -> Expand

2.开启token
笔者这里是因为已经获取了token所以会直接显示,第一次获取直接在这一块里找就行

 

1

2

3

猜你喜欢

转载自www.cnblogs.com/dbslinux/p/13365713.html