gitlab使用URL导入远程仓库报错Import url is blocked: Only allowed ports are 80,443, and any over 1024 报错内容为Import url is blocked: Only allowed ports are 80,443, ...
分类:
Web程序 时间:
2021-05-24 04:34:30
阅读次数:
0
在gitlab使用gitlab runner执行CI/CD时,发现每次都要重新拉取docker镜像,即使本地已经有了,也不使用,直接重新拉去,导致流程很慢, 查询了下对应的配置文档,修改配置参数**pull_policy**为`pull_policy = "if-not-present"`,优先使用... ...
分类:
其他好文 时间:
2020-11-04 19:15:29
阅读次数:
31
部署gitlab 部署drone # ip:xxxxxxxx ci-build ### docker-compose.yml #测试成功,附带mysql version: "2.1" services: drone-server: image: drone/drone:1 ports: - 443: ...
分类:
其他好文 时间:
2020-09-17 19:26:43
阅读次数:
26
说明:原来使用的gitlab使用的是单机的版本,现在要迁移到阿里云,并使用高可用的gitlab集群配置,gitlab集群目前支持redis的主从模式或者redis的setinel模式,数据库使用外置的postgresql1.服务器申请服务器1:ip1BJPVGITLAB-1服务器2:ip2BJPVGITLAB-3服务器3:ip3BJPVGITLAB-2服务器4:ip4BJPVPGSQL-1redi
分类:
其他好文 时间:
2020-08-20 18:32:19
阅读次数:
65
注意:备份和恢复使用的Gitlab 版本必须一致 1、停止数据相关服务gitlab-ctl stop unicorn gitlab-ctl stop sidekiq2、还原gitlab-rake gitlab:backup:restore BACKUP=/var/opt/gitlab/backups ...
分类:
其他好文 时间:
2020-06-29 16:58:11
阅读次数:
62
centos 7.6通过离线方式安装GitLab。 第1步,下载gitlab安装包 从 清华大学开源软件镜像站 下载最新版gitlab安装包。 从 gitlab官网 下载gitlab最新安装包 第2步,安装gitlab (1) 使用rmp安装 以当前最新版为例,将 gitlab-ce-13.0.5- ...
分类:
其他好文 时间:
2020-06-07 13:16:28
阅读次数:
109
GitLab 配置模板 GitLab 使用模板和参数生成配置文件。 一般来说,我们会通过 文件修改配置,例如 Nginx 相关配置。 只能使用特定的几个 Nginx 配置,如果要修改其它 Nginx 配置,可以这个文件入手: 这是 GitLab 的 Nginx 配置模板,看一下其中的几个 if el ...
分类:
其他好文 时间:
2020-05-12 13:49:36
阅读次数:
183
(一)、配置SSH到Gitlab账号1、使用ssh-keygen生成密钥文件.ssh/id_rsa.pub[root@zabbix-proxy0496~]#ssh-keygenGeneratingpublic/privatersakeypair.Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):Enterpassphrase(emptyfornopas
分类:
其他好文 时间:
2019-11-28 15:07:06
阅读次数:
112
1)搭建并配置本地GitLab服务器教程 https://www.cnblogs.com/yinkemeng/p/10144782.html 2)记一次为gitlab启用CI的过程 https://www.cnblogs.com/qulianqing/p/9156112.html 3)GitLab+ ...
分类:
其他好文 时间:
2019-11-21 15:31:03
阅读次数:
63
去年搭建的gitlab,使用了阿里云的免费ssl证书来配置https,证书一年有效。前几天过期后无法访问了。 申请了新的证书,将.key和.pem文件,通过scp命令拷贝到/etc/gitlab/ssl目录下,使用openssl命令生成.crt文件,gitlab-ctl reconfigure,没报 ...
分类:
其他好文 时间:
2019-11-02 21:58:23
阅读次数:
234