From cc503be3da9dc487b660b375ea2dfe4a536dd953 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 14 Nov 2011 11:30:44 -0800 Subject: [PATCH] fix readme --- tools/jenkins/README.md | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/tools/jenkins/README.md b/tools/jenkins/README.md index 74237f8..fac3f51 100644 --- a/tools/jenkins/README.md +++ b/tools/jenkins/README.md @@ -4,14 +4,34 @@ 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 manually set up a testing environment ----------------------------------------- - ./build_configuration.sh [EXECUTOR_NUMBER] [CONFIGURATION] +To create a jenkins server +-------------------------- -For now, use "./build_configuration.sh $EXECUTOR_NUMBER kvm" + cd tools/jenkins/jenkins_home + ./build_jenkins.sh -To manually run a test ----------------------- - ./run_test.sh [EXECUTOR_NUMBER] [ADAPTER] +This will create a jenkins environment configured with sample test scripts that run against xen and kvm. -For now, use "./run_test.sh $EXECUTOR_NUMBER [euca|floating]" +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 + # IMPORTANT: The following must be set to your dom0 root password! + XENAPI_PASSWORD='MY_XEN_ROOT_PW' + # 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 + XEN_IP=50.56.12.203