devstack/tools/jenkins
Ian Wienand aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
..
adapters add assertions for blind grep 2013-10-22 17:12:18 -05:00
configurations Enforce function declaration format in bash8 2014-02-28 07:59:03 +11:00
jenkins_home final bash8 files for the rest of devstack 2013-10-22 13:06:18 -04:00
build_configuration.sh Enforce function declaration format in bash8 2014-02-28 07:59:03 +11:00
README.md Rename Openstack to OpenStack 2014-02-12 17:52:17 +08:00
run_test.sh Enforce function declaration format in bash8 2014-02-28 07:59:03 +11:00

Getting Started With Jenkins and Devstack

This little corner of devstack is to show how to get an OpenStack jenkins environment up and running quickly, using the rcb configuration methodology.

To create a jenkins server

cd tools/jenkins/jenkins_home
./build_jenkins.sh

This will create a jenkins environment configured with sample test scripts that run against xen and kvm.

Configuring XS

In order to make the tests for XS work, you must install xs 5.6 on a separate machine, and install the the jenkins public key on that server. You then need to create the /var/lib/jenkins/xenrc on your jenkins server like so:

MYSQL_PASSWORD=secrete
SERVICE_TOKEN=secrete
ADMIN_PASSWORD=secrete
RABBIT_PASSWORD=secrete
# This is the password for your guest (for both stack and root users)
GUEST_PASSWORD=secrete
# Do not download the usual images yet!
IMAGE_URLS=""
FLOATING_RANGE=192.168.1.224/28
VIRT_DRIVER=xenserver
# Explicitly set multi-host
MULTI_HOST=1
# Give extra time for boot
ACTIVE_TIMEOUT=45
#  IMPORTANT: This is the ip of your xenserver
XEN_IP=10.5.5.1
# IMPORTANT: The following must be set to your dom0 root password!
XENAPI_PASSWORD='MY_XEN_ROOT_PW'