diskimage-builder/elements/jenkins
Monty Taylor 1eff4a436e Rename flavour to element.
Flavour is overloaded in openstack due to it being used by nova. Element
seems to have the same feeling of combinability without using a term already
in active use in the openstack community.

Change-Id: Ia4c028d4062a8f69c66665821c94dd4bcdf06031
2012-12-05 14:04:58 -08:00
..
first-boot.d Rename flavour to element. 2012-12-05 14:04:58 -08:00
install.d Rename flavour to element. 2012-12-05 14:04:58 -08: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.