polorumpus / tophat

If I have to stand up a Jenkins server ONE MORE TIME, I'm going to turn this car around!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tophat 🎩

I'm so over setting up Jenkins servers. This repo contains everything you need to create a Jenkins AMI using Packer. Then you just start using that AMI. So easy.

You already have Berkshelf and Packer installed, right? Nice.

Make sure you have the AWS CLI installed and configured.

You'll also need to have a subnet and security group in which instances will be launched.

Run to build a new Jenkins AMI:

./packer-build.sh sg-XXXXXXXX subnet-YYYYYYYY

And then go do some real work.

Developing

If you're going to develop this cookbook, install Test Kitchen, and set the following environment variables:

export TOPHAT_SG=sg-XXXXXXXX
export TOPHAT_SUBNET_ID=subnet-YYYYYYYY
export TOPHAT_EC2_KEY=my_ec2_key_name

.kitchen.yml looks for those variables when provisioning a new instance.

About

If I have to stand up a Jenkins server ONE MORE TIME, I'm going to turn this car around!


Languages

Language:Ruby 74.7%Language:HTML 19.3%Language:Shell 6.0%