Hello Everybody!
I just started using digitalocean and I have a question. I have a Django app stored in bitbucket and I want to use a pipeline on my project so the code is updated when I commit changes to my repository. Is there a way to do that in DO?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
Absolutely, you can achieve this with Continuous Integration and Continuous Deployment (CI/CD) pipelines. These pipelines help to automatically test and deploy your applications.
For Bitbucket, you could use Bitbucket Pipelines, an integrated CI/CD service, designed to build, test, and deploy code directly from your Bitbucket repository.
You would need to configure a bitbucket-pipelines.yml file in your repository which contains pipeline configuration. This would include commands that push your built application to your DigitalOcean Droplet upon successful build.
The overall process is a little detailed to explain here but don’t worry, there are plenty of tutorials and documentations that can guide you along.
For the most in-depth and accurate guide, you can refer to the guide on how to work with pipelines in Bitbucket’s documentation: Bitbucket Pipelines Configuration.
Also, you can check this guide on the subject: Continuous Deployment with Bitbucket.
Should you need any more assistance, do not hesitate to ask!
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.