Use packer to create the jenkins linux slave AMI.

Review Request #3825 - Created May 4, 2016 and submitted

Information
John Sirois
pants
jsirois/jenkins/slave-ami
3334
ee0508d...
Reviewers
pants-reviews
benjyw, kwlzn, patricklaw, stuhood, zundel
This introduces packer for automated AMI builds and adds a doc to cover
how to use the tool to build a new Jenkins slave image and use it to
launch Jenkins slaves with.

 Jenkinsfile                                       |   3 +
 build-support/packer/README.md                    | 135 +++++++++++++++++++++++++++++++++++++++++++
 build-support/packer/images/check-ami-success.png | Bin 0 -> 26948 bytes
 build-support/packer/jenkins-slave.customize.sh   | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++
 build-support/packer/jenkins-slave.json           |  17 ++++++
 build-support/packer/jenkins-slave.packages.sh    |  82 +++++++++++++++++++++++++++
 6 files changed, 391 insertions(+)

Used AWS_PROFILE=pantsbuild packer-io build jenkins-slave.json to
create the ami-0adc3c67 aka pantsbuild-jenkins-slave.1462400935 AMI
now powering this CI on master:
http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/master/15

Legacy Travis went green here:
https://travis-ci.org/pantsbuild/pants/builds/127937335

John Sirois
John Sirois
Patrick Lawson
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit 50cb7c065b8d92c6c9c6fdbc96f6c4552d4ceaf5
Author: John Sirois <john.sirois@gmail.com>
Date:   Tue May 3 16:59:35 2016 -0600

    Use packer to create the jenkins linux slave AMI.
    
    This introduces packer for automated AMI builds and adds a doc to cover
    how to use the tool to build a new Jenkins slave image and use it to
    launch Jenkins slaves with.
    
    Testing Done:
    Used `AWS_PROFILE=pantsbuild packer-io build jenkins-slave.json` to
    create the `ami-0adc3c67` aka `pantsbuild-jenkins-slave.1462400935` AMI
    now powering this CI on master:
      http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/master/15
    
    Legacy Travis went green here:
      https://travis-ci.org/pantsbuild/pants/builds/127937335
    
    Bugs closed: 3334
    
    Reviewed at https://rbcommons.com/s/twitter/r/3825/
Loading...