Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

spring-media/rbbt-jenkins-slave-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rbbt Jenkins Slave Image

Jenkins Slave Image Generated By Packer

Dependencies

Description

The project consists of a Packer template file (slave.json) wich Packer uses as its main entry point in order to build the image. Packer will start an EC2 instance and it will build the image based on the configuration of the template file. As soon as the build finishes the EC2 instance will terminate. During the build of the image there'll be running installation/configuration scripts which are located under the scripts folder. In order to add new scripts to the build you'll need to add the script to the scripts folder and reference its location as a shell provisioner in the slave.json (description here). Additional files are added in the files folder and referenced as a file provisioner in the slave.json (description here).

Necessary elements (so far)

  • Jenkins user
  • SSH key configuration for the Jenkins user
  • Cron jobs (Docker cleanup and Cloudwatch metrics)
  • Java 1.8
  • Node
  • Docker
  • File ulimit
  • Time Zone (ireland)

Run

make all

Releases

No releases published

Packages

No packages published