gitlab-runner ---CI
2024-10-19 03:31:31
gitlab-runner:
https://segmentfault.com/a/1190000007180257
https://mp.weixin.qq.com/s?__biz=MjM5MTA1MjAxMQ==&mid=2651227441&idx=1&sn=183035f3b15af8ddb071d7e081c4a485&chksm=bd495cb58a3ed5a3291b5d8f3587309c84b33ba29bf63a172e5c0d41c52dff348bfa5e49492a&mpshare=1&scene=1&srcid=1215fwio83KcVNvv2zwXAyZm&pass_ticket=vHZ1YOnRFpaKEnflhc2HmSIKA6mfjZvrwfLQzYcrcM5nYt2EK4BGPQsX7alIiDAj#rd
gitlab --version
https://your.domain.name/help
http://www.jianshu.com/p/2b43151fb92e
https://docs.gitlab.com/runner/install/linux-repository.html
http://blog.csdn.net/rainbow702/article/details/69396490?utm_source=itdadao&utm_medium=referral
yum install gitlab-ci-multi-runner-1.10.7-1
可以对项目的构建进行详细配置,比如构建的时间表及需要 CI 进行持续集成的分支等,这里配置了 对master和develop分支进行持续集成。
配置一个 Runner
GitLab CI 中,runner 是一个隔离的虚拟机器,用来配合 Gitlab CI
进行构建。
安装 GitLab-Runner
安装gitlab-ci-multi-runner
环境:centos 7, 使用了清华大学的镜像
新建 gitlab-ci-multi-runner.repo
touch /etc/yum.repos.d/gitlab-ci-multi-runner.repo
将以下内容写入文件
[gitlab-ci-multi-runner]
name=gitlab-ci-multi-runner
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ci-multi-runner/yum/el7
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
执行
sudo yum makecache
sudo yum install gitlab-ci-multi-runner
其他系统安装
https://docs.gitlab.com/runner/install/
Gitlab CI Multi Runner 国内镜像
https://mirrors.tuna.tsinghua.edu.cn/help/gitlab-ci-multi-runner/
Runner 的区分
最新文章
- C++_系列自学课程_第_5_课_vector容器_《C++ Primer 第四版》
- Error: 9001, Severity: 21, State: 5 The log for database 'xxxx' is not available
- HBASE列族不能太多的真相 (一个table有几个列族就有几个 Store)
- JAVA 设计模式 策略模式
- 【BZOJ-2007】海拔 最小割 (平面图转对偶图 + 最短路)
- vim配色方案设置(更换vim配色方案)
- [CareerCup] 8.1 Implement Blackjack 实现21点纸牌
- bash 学习笔记
- equals方法,hashcode()方法
- spring+mybatis的优缺点
- Add controls dynamically in flowlayoutpanel
- tem
- myeclipse搭建svn插件
- 第一章 Java语言概述
- 使用jQuery操作DOM
- (转)Mysql数据库存储引擎
- [CF] Final Exam Arrangement
- Ubuntu下比较通用的makefile实例
- Pashmak and Flowers
- 24时区,GMT,UTC,DST,CST时间详解