Browse code

fix readme

Anthony Young authored on 2011/11/15 04:30:44
Showing 1 changed files
... ...
@@ -4,14 +4,34 @@ This little corner of devstack is to show how to get an Openstack jenkins
4 4
 environment up and running quickly, using the rcb configuration methodology.
5 5
 
6 6
 
7
-To manually set up a testing environment
8
-    ./build_configuration.sh [EXECUTOR_NUMBER] [CONFIGURATION]
7
+To create a jenkins server
8
+--------------------------
9 9
 
10
-For now, use "./build_configuration.sh $EXECUTOR_NUMBER kvm"
10
+    cd tools/jenkins/jenkins_home
11
+    ./build_jenkins.sh
11 12
 
12
-To manually run a test
13
-    ./run_test.sh [EXECUTOR_NUMBER] [ADAPTER] 
13
+This will create a jenkins environment configured with sample test scripts that run against xen and kvm.
14 14
 
15
-For now, use "./run_test.sh $EXECUTOR_NUMBER [euca|floating]"
15
+Configuring XS
16
+--------------
17
+In order to make the tests for XS work, you must install xs 5.6 on a separate machine,
18
+and install the the jenkins public key on that server.  You then need to create the
19
+/var/lib/jenkins/xenrc on your jenkins server like so:
20
+
21
+    MYSQL_PASSWORD=secrete
22
+    SERVICE_TOKEN=secrete
23
+    ADMIN_PASSWORD=secrete
24
+    RABBIT_PASSWORD=secrete
25
+    # This is the password for your guest (for both stack and root users)
26
+    GUEST_PASSWORD=secrete
27
+    # IMPORTANT: The following must be set to your dom0 root password!
28
+    XENAPI_PASSWORD='MY_XEN_ROOT_PW'
29
+    # Do not download the usual images yet!
30
+    IMAGE_URLS=""
31
+    FLOATING_RANGE=192.168.1.224/28
32
+    VIRT_DRIVER=xenserver
33
+    # Explicitly set multi-host
34
+    MULTI_HOST=1
35
+    # Give extra time for boot
36
+    ACTIVE_TIMEOUT=45
37
+    XEN_IP=50.56.12.203