美文网首页
rancher2.x pipeline 自建gitlab 不能自

rancher2.x pipeline 自建gitlab 不能自

作者: 大罗马的太阳 | 来源:发表于2018-11-08 22:20 被阅读81次

现象描述

rancher2.1 搭建完毕,已经导入k8s集群,且正确设置pipeline 流水线。
手动点击运行按钮,可以正常执行。但是推送不能自动触发。

解决办法

  1. gitlab 使用root账户登录。
  2. Admin Area -> Settings -> Network ->Outbound requests
    勾选Allow requests to the local network from hooks and services
    如下图所示
    image.png

相关文章

网友评论

      本文标题:rancher2.x pipeline 自建gitlab 不能自

      本文链接:https://www.haomeiwen.com/subject/hwmgxqtx.html