diskimage-builder/elements/jenkins
Ghe Rivero 11b4a5501d Create install-packages as a binary.
Only supports Debian family distribution so far.

Change-Id: I9fa0b833c34a614fe498c6c6ae599733a69c1309
2013-01-31 00:08:58 +01:00
..
first-boot.d Rename flavour to element. 2012-12-05 14:04:58 -08:00
install.d Create install-packages as a binary. 2013-01-31 00:08:58 +01:00
pre-install.d Rename flavour to element. 2012-12-05 14:04:58 -08:00
README.md Rename flavour to element. 2012-12-05 14:04:58 -08:00

Provisions a jenkins for doing tests of openstack cloud images

After deploying the image, jenkins should be available on port 8080.

The following is fiction

To use this, add a new application at https://github.com/organizations/$ORGANISATION/settings/applications and grab the client id and secret it provides.

Config options

XXX: These should be passed in via cloud-init or salt, not on image build. For now, export before building the image.

  • export GITHUB_ORGANISATION to set the which organisation to look for github committers from.

  • export GITHUB_ADMINS to set a list of github users to be jenkins admins.

  • export GITHUB_CLIENT_ID to set the github OAuth client id.

  • export GITHUB_SECRET to set the github OAuth secret.