]> xenbits.xensource.com Git - openstack/ci-loop-config.git/commitdiff
nodepool: Prepare a different image
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 5 May 2016 10:37:46 +0000 (10:37 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Wed, 2 Nov 2016 17:54:20 +0000 (17:54 +0000)
For experimentation

nodepool/nodepool.yaml

index 672d8e5891550962749650c6b9dd012a5c1b6bb6..41660412b0ee3ecc41d3c2d2be3c7ad22403e243 100644 (file)
@@ -29,6 +29,11 @@ labels:
     min-ready: 1
     providers:
       - name: rax-iad
+  - name: ts-xen
+    image: ts-xen
+    min-ready: -1
+    providers:
+      - name: rax-iad
 
 providers:
   - name: rax-iad
@@ -56,6 +61,20 @@ providers:
         config-drive: true
         meta:
             xenapi_use_agent: 'false'
+      - name: ts-xen
+        # This is the image name to use found in this provider's `glance image-list`
+        base-image: 'Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)'
+        min-ram: 8192
+        name-filter: 'Performance'
+        # This is the script that will be used to prepare the image
+        setup: prepare_node_devstack_xen.sh
+        #Set the public key part only of the jenkin's key (no whitespace) to the NODEPOOL_SSH_KEY environment variable in order to
+        #inject it into the image's jenkins user .ssh/authorized_keys
+        #This key will be used to log in and setup jenkins on the target VM
+        private-key: '/home/nodepool/.ssh/id_rsa'
+        config-drive: true
+        meta:
+            xenapi_use_agent: 'false'
 #  - name: rax-ord
 #    cloud: rax
 #    region-name: 'ORD'