无法配置Spinnaker Webhook进行隐藏(在内部Bitbucket上)

时间:2018-10-25 19:31:50

标签: kubernetes bitbucket spinnaker spinnaker-halyard

使用OAuth Google在kubernetes上运行Spinnaker 1.9.2。尝试配置触发的管道,但似乎藏匿处和大三角帆无法触发管道。

要使用hal配置隐藏,请执行以下操作:

  hal config artifact http enable
  hal config artifact http account add spinnaker-http --username ahsan --password
  hal config artifact http account get spinnaker-http

然后在bitbucket上添加以下 (为了安全起见,更改了域名)

enter image description here

在大三角帆侧以这种方式配置的管道:

enter image description here

这是有效负载藏匿处,产生了重现500错误:

{"eventKey":"repo:refs_changed","date":"2018-10-24T15:34:43+0000","actor":{"name":"ahsan","emailAddress":"ahsan.naseem@mydomain.com","id":52,"displayName":"ahsan","active":true,"slug":"ahsan","type":"NORMAL","links":{"self":[{"href":"http://172.31.60.196:7990/users/ahsan"}]}},"repository":{"slug":"testing-repository","id":1,"name":"testing-repository","scmId":"git","state":"AVAILABLE","statusMessage":"Available","forkable":true,"project":{"key":"TES","id":1,"name":"test-project","public":false,"type":"NORMAL","links":{"self":[{"href":"http://172.31.60.196:7990/projects/TES"}]}},"public":true,"links":{"clone":[{"href":"http://172.31.60.196:7990/scm/tes/testing-repository.git","name":"http"},{"href":"ssh://git@172.31.60.196:7999/tes/testing-repository.git","name":"ssh"}],"self":[{"href":"http://172.31.60.196:7990/projects/TES/repos/testing-repository/browse"}]}},"changes":[{"ref":{"id":"refs/heads/master","displayId":"master","type":"BRANCH"},"refId":"refs/heads/master","fromHash":"38dc517318c84bf33c51601bd736984a5e0ead15","toHash":"52a5b086bd3e9bd43a1e95197f16bb6e5d4d12c7","type":"UPDATE"}]}

仅出于测试目的,我手动执行管道,它表示工件不匹配。

如果其他人面对并能够解决此问题,我将非常感谢他们的反馈。

0 个答案:

没有答案