![](/img/trans.png)
[英]Use Lambda with on-premise file server (avoiding Amazon S3)
[英]How to get BitBucket Server v5.15.1 (on-premise) webhook to trigger Lambda via API Gateway to get into S3?
I'm working with an on-premise older version of BitBucket Server v5.15.1 that does not have the Bitbucket Pipelines feature and I need how to get the webhooks to notify AWS Lambda via HTTPS POST via AWS API Gateway after a commit is made to master 分支...然后 Lambda 下載 repo 的副本,將其壓縮並將其放入 S3 存儲桶中...當然這是 CodePipeline 最終可以被觸發的地方...但是我遇到了問題- 前提 BitBucket 服務器位於我的 AWS 賬戶中,用於將其 webhook 連接到 Lambda。
我嘗試按照下面的文檔並使用所有需要的資源啟動 CloudFormation 模板,但我假設它適用於 BitBucket Cloud 而不是 Bitbucket 服務器 OP。
https://aws.amazon.com/blogs/devops/integrating-git-with-aws-codepipeline/
任何人對此的幫助將不勝感激。
我想您正在關注 AWS 的以下博客: https://aws.amazon.com/blogs/devops/integrating-codepipeline-with-on-premises-bitbucket-server/
我們也實施了它。 If the event is coming to Lambda, then make sure your Lambda is within a VPC and it has correct outbound(read as inbound) rules to connect the Bitbucket server over HTTPS. Bitbucket 服務器也接受 VPC IP 范圍。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.