现象描述
rancher2.1 搭建完毕,已经导入k8s集群,且正确设置pipeline 流水线。
手动点击运行按钮,可以正常执行。但是推送不能自动触发。
解决办法
- gitlab 使用root账户登录。
- Admin Area -> Settings -> Network ->Outbound requests
勾选Allow requests to the local network from hooks and services
如下图所示
image.png
rancher2.1 搭建完毕,已经导入k8s集群,且正确设置pipeline 流水线。
手动点击运行按钮,可以正常执行。但是推送不能自动触发。