GitlabRunner安装

IT
IT
IT
335
文章
1
评论
2020年4月23日13:20:46 评论 1,477 1696字阅读5分39秒

下载源

[root@iZ2ze79nzb4n0ogyb8ed6xZ ~]# yum install -y git
[root@k8s-node2 ~]# curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
[root@k8s-node2 ~]# yum install gitlab-runner

启动

[root@iZ2zeflzb6atg5mhyyxn7oZ ~]# systemctl start gitlab-runner
[root@iZ2zeflzb6atg5mhyyxn7oZ ~]# systemctl status gitlab-runner
● gitlab-runner.service - GitLab Runner
   Loaded: loaded (/etc/systemd/system/gitlab-runner.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2020-04-23 13:34:59 CST; 1min 40s ago
 Main PID: 24503 (gitlab-runner)
   CGroup: /system.slice/gitlab-runner.service
           └─24503 /usr/lib/gitlab-runner/gitlab-runner run --working-directory /home/gitlab-runner --config /etc/gitlab-runner/config.toml --service gitlab-runner --syslog --user gitlab-runner...

Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: Running in system-mode.                           
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: 
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: Configuration loaded                                builds=0
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: listen_address not defined, metrics & debug endpoints disabled  builds=0
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: [session_server].listen_address not defined, session endpoints disabled  builds=0
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: Running in system-mode.                           
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]:                                                   
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: Configuration loaded                                builds=0
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: listen_address not defined, metrics & debug endpoints disabled  builds=0
Apr 23 13:34:59 iZ2zeflzb6atg5mhyyxn7oZ gitlab-runner[24503]: [session_server].listen_address not defined, session endpoints disabled  builds=0

 

继续阅读
  • 我的QQ
  • QQ扫一扫
  • weinxin
  • 我的头条
  • 头条扫一扫
  • weinxin
IT
  • 本文由 发表于 2020年4月23日13:20:46
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
gitlab与windows机器打通 CentOS

gitlab与windows机器打通

安装步骤       打通权限回车   在你安装的目录里面找到密钥 把刚才生成的密钥加入到自己账号中的key里即可 然后利用这个工具把自己的项目克隆下来‘ 20...