Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Activate Pipeline & Deployments on Bitbucket with Digital Ocean

rdegregorio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2018

Hi,

Hope you can help me out. How can I activate deployments (pipelines) using Digital Ocean. I want to be able to deploy easy to production with a deploy button on Bitbucket.

I am seeing that on Pipeline Integrations Digital Ocean isn't on the list.

All help is greatly appreciated.

2 answers

7 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi @rdegregorio,

I am assuming you are trying to set up the deployment features of Pipelines (https://blog.bitbucket.org/2017/12/05/introducing-bitbucket-deployments/) ?

In order to enable this, you simple have to define one of your pipeline steps as a deployment step. You can simple do this by setting the 'deployment' production. 

For example: 

pipelines:
branches:
master:
- step:
name: build and test
script:
- echo "test script here
- step:
name: Deploy to Staging
deployment: staging
script:
- echo "Successful deployment to Staging"
- step:
name: Deploy to Production
deployment: production
trigger: manual
script:
- echo "Successful deployment to Production"

With regards to the actual script to use, you can take a look at these: 

4 votes
crabilld
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 14, 2018

This is the answer that helped me setup automatic deployments when something is committed to the master branch of my repo: https://stackoverflow.com/a/50124202/944054

blair_gemmer September 25, 2019

This also helped me!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events