We are in the process of migrating a farm of web sites onto AWS.
Our code base is currently hosted on a Stash instance that we manage. We will be converting this to Bitbucket soon.
Are we able to integrate our hosted Bitbucket instance with AWS CodePipeline or do we need use an AWS hosted GIT repo?
Any feedback is appreciated.
Other than for GitHub, AWS CodePipeline does not yet provide an official integration with Bitbucket Server, though there's a potential workaround by means of an AWS Quick Start.
AWS Quick Start
If you are willing to invest a tiny bit of work into your own (serverless) solution, you can deploy the AWS Quick Start Git Webhooks with AWS services, which provides "HTTPS endpoints and AWS Lambda functions for linking your Git repo to AWS".
This works for any kind of Git repository that supports webhooks, so should ideally work out of the box with the new webhooks available in Bitbucket Server as of release 5.4 (I've tested this with an earlier version, but had to implement a few tweaks to the serverless Quick Start code).
Potential Bitbucket Server App
That being said, the AWS Quick Start based integration is a bit limited on the usability side of things (e.g. it lacks build status API integration and commit hash based deep links) and we (Utoolity) are exploring a (commercial) Bitbucket Server App that will provide a respectively improved 'native' integration experience.
We would be happy to learn more about your use case and specific requirements, please don't hesitate to get in touch if you are interested in shaping this product.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs