Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up multiple "environments" with CloudBees?

I just read all the CloudBees developer docs and was surprised I didn't see anything about setting up multiple environments for your deployment pipeline.

I plan on running my app locally, then promote the code to a QA machine inside my network, and from there it would be nice to deploy the code changes to a "Demo" environment on the CloudBees cloud, where clients could review/acceptance test the changes before I set them live.

So I ask: how does one set up both a Demo and Production environment on CloudBees?

Ideally, I'd like to have my Demo environment be demo.myapp.example.com and the Production environment be myapp.example.com. Thanks in advance!

like image 237
IAmYourFaja Avatar asked May 14 '13 12:05

IAmYourFaja


1 Answers

You for sure can deploy the exact same binary to multiple environment, and get each of them configured with distinct resources and parameters. This is a common pattern. You probably will need to use the cloudbees SDK to fine-grain setup both environments. Both run.cloudbees.com web console and jenkins cloudbees deployer offer limited options.

like image 56
nicolas de loof Avatar answered Sep 28 '22 10:09

nicolas de loof