rancher2.x pipeline 自建gitlab 不能自动触发

现象描述

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 不能自动触发)