Github webhook 无法使用 Spinnaker 连接到服务器



我正在关注一个大三角帆代码实验室 https://www.spinnaker.io/guides/tutorials/codelabs/appengine-source-to-prod/,并且在 github webhook 集成方面遇到了问题。

从 github 我收到一条消息,上面写着couldn't connect to server

我的 github 设置是:

Payload Url - http://<my-external-ip>:8089/webhooks/git/github
Content Type - application/json
Which events to trigger - just the push event
Active - true

我的 GCP 防火墙规则设置为:

Priority - 1000
Direction - Ingress
Action on match - Allow
Target tags - allow-github-webhook
Source filters (IP Ranges) - 192.30.252.0/22   185.199.108.0/22
Protocols and ports - tcp:8089

而且我已经确保我的 Spinnaker VM 具有network tags: allow-github-webhook

我正在使用大三角帆 v. 1.0.1

我是否缺少任何内容或我可以检查的任何日志以查看任何地方是否发生错误?或者您建议尝试调试为什么 webhook 不成功的任何其他内容?

我从大三角帆项目的贡献者那里得到了答案:https://github.com/spinnaker/spinnaker.github.io/issues/234

有人建议在大三角帆机内运行以下内容,这使得网络钩子工作:

echo "host: 0.0.0.0" | tee ~/.hal/default/service-settings/echo.yml
sudo hal deploy apply

最新更新