1、安装插件 安装gitlab插件 回到项目配置在“构建触发器”那里有一个Build when a change is pushed to GitLab. GitLab webhook选项复制选项里的链接,此链接需要在gitlab里面配置 到gitlab对应的项目设置 测试触发构建是否成功,如果返回 ...
分类:
其他好文 时间:
2019-01-08 21:07:48
阅读次数:
194
一、部署gitlab ci 1、安装gitlab-runner,下载gitlbab-runner到 bin下面 2、修改gitlab-runner为可执行文件 3、创建gitlab ci用户 4、安装运行gitlab-runner 5、注册runner 6、登录到gitlab查看设置的runner是 ...
分类:
其他好文 时间:
2019-01-03 17:31:12
阅读次数:
216
转自:https://www.cnblogs.com/chenfool/p/7689438.html 环境说明:虚拟机 centos 7 64位内存:4GB存储:100GBCPU: CORE 版本:gitlab 10.0.3 配置系统基础环境 配置阿里巴巴 yum 源 重建yum 的缓存 配置 yu ...
分类:
其他好文 时间:
2019-01-02 17:31:33
阅读次数:
230
1. 安装并配置必要的依赖关系# 关闭selinux,关闭防火墙或编辑策略打开http和ssh访问 # yum install -y curl policycoreutils-python openssh-server# systemctl enable sshd# systemctl start ...
分类:
其他好文 时间:
2019-01-02 01:16:34
阅读次数:
196
一:安装 1:添加yum配置文件 2:安装依赖包。 3:安装gitlab-ce 注:如果想安装指定版本,在后面加上版本号,例如:yum install gitlab-ce-11.5.5 首次初始化时间比较长。 4:修改gitlab配置文件gitlab.rb 将 external_url 后面的url ...
分类:
其他好文 时间:
2018-12-29 18:27:17
阅读次数:
185
# 下载 $sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 # 修改权限 $chm ...
分类:
其他好文 时间:
2018-12-25 11:19:30
阅读次数:
225
1、基本概念 使用k8s安装gitlab-ce,采用GlusterFS实现持久化,并集成了openLDAP。 注意:我公司使用的gitlab是独立于k8s集群之外的。 2、安装部署 最一开始使用的是helm安装gitlab,网上的文档应该全部都是使用的这个chart:https://github.c ...
分类:
Web程序 时间:
2018-12-04 13:07:31
阅读次数:
785
准备环境yuminstallcurlopenssh-serveropenssh-clientspostfixcroniesystemctlstartpostfix&&systemctlenablepostfix安装gitlab配置yum源cat>/etc/yum.repo.d/gitlab-ce.repo<<_EOF[gitlab-ce]name=GitlabCE
分类:
其他好文 时间:
2018-11-26 20:25:59
阅读次数:
199
GitLab安装一、GitLab简介GitLab 是一个用于仓库管理系统的开源项目。使用Git作为代码管理工具,并在此基础上搭建起来的web服务。可通过Web界面进行访问公开的或者私人项目。它拥有与Github类似的功能,能够浏览源代码,管理缺陷和注释。可以管理团队对仓库的访问,它非常易于浏览提交过... ...
分类:
其他好文 时间:
2018-11-25 11:54:39
阅读次数:
197
# GitLab Server 的搭建 参考 https://about.gitlab.com/installation ## 1. 准备工作 以Centos7为例,准备一台至少内存为4G的机器。 ## 2. 安装依赖软件 ``` sudo yum install -y git vim gcc gl ...
分类:
其他好文 时间:
2018-11-23 15:16:43
阅读次数:
164