Playing with ensemble

I was recently playing with ensemble. I was pleasantly surprised. To be honest, I had expected to be underwhelmed. Creating a VM on ec2 is quick, and adding the software I need after that isn’t exactly painful. That’s the point of packaging after all.

But, you’ve just got to try it!

There is a bit of one-time setup to do:

apt-get install ensemble
# tweak ~/.ensemble/environments.yaml,
# add access-key: and secret-key: per https://ensemble.ubuntu.com/docs/getting-started.html
bzr branch lp:principia-tools
cd principia-tools
./principia getall

Now, you’re ready to deploy:

ensemble bootstrap
ensemble deploy –repository=/home/serge/principia-tools/formulas jenkins
ensemble deploy –repository=/home/serge/principia-tools/formulas jenkins-slave
ensemble add-relation jenkins-slave jenkins
ensemble add-unit jenkins-slave

And boom, you have a jenkins server with two slaves!

Awesome.

About these ads
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to Playing with ensemble

  1. Pingback: Jorge Castro: My first attempt at an Ensemble formula | Ubuntu Forms

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s