What options do I have for deploying to a web server behind the firewall from Bitbucket Cloud pipelines?

Using Pipelines on Bitbucket Cloud, what options do I have for automating deployments to a web server where SSH is firewalled off?

I realize that typically in a network situation like this, you'd host your CI server on-prem, but I don't think that's in our future.

The web server is Apache – so far the best option I can come up with would be to use a PHP or other CGI script like a web hook – so the web server would pull down new artifacts or git clone when Bitbucket calls that CGI endpoint over HTTPS.

1 answer

I think creating an endpoint to receive notifications is a fine option. We do not support artifacts yet, but in the meanwhile your deployment could upload the artifact to a storage solution like S3, and your service could pull the result down.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

268 views 0 12
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you