File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ cleanup() {
3131 trap 2; kill -2 $$
3232}
3333
34- trap cleanup SIGHUP SIGINT SIGTERM
34+ trap cleanup SIGHUP SIGINT SIGTERM SIGQUIT
3535
3636# Echo commands
3737set -o xtrace
@@ -165,6 +165,7 @@ git_clone $NOVACLIENT_REPO $COPY_DIR/$DEST/python-novaclient $NOVACLIENT_BRANCH
165165git_clone $OPENSTACKX_REPO $COPY_DIR /$DEST /openstackx $OPENSTACKX_BRANCH
166166git_clone $KEYSTONE_REPO $COPY_DIR /$DEST /keystone $KEYSTONE_BRANCH
167167git_clone $NOVNC_REPO $COPY_DIR /$DEST /noVNC $NOVNC_BRANCH
168+ git_clone $CITEST_REPO $COPY_DIR /$DEST /openstack-integration-tests $CITEST_BRANCH
168169
169170# Back to devstack
170171cd $TOP_DIR
@@ -409,6 +410,15 @@ umount $ROOTFS/dev
409410chroot $ROOTFS dpkg-reconfigure openssh-server
410411sed -e ' s/^PasswordAuthentication.*$/PasswordAuthentication yes/' -i $ROOTFS /etc/ssh/sshd_config
411412
413+ # Pre-load an image for testing
414+ UEC_NAME=$DIST_NAME -server-cloudimg-amd64
415+ CIVMDIR=${ROOTFS}${DEST} /openstack-integration-tests/include/sample_vm
416+ if [ ! -e $CIVMDIR /$UEC_NAME .tar.gz ]; then
417+ mkdir -p $CIVMDIR
418+ (cd $CIVMDIR && wget -N http://uec-images.ubuntu.com/$DIST_NAME /current/$UEC_NAME .tar.gz;
419+ tar xzf $UEC_NAME .tar.gz; )
420+ fi
421+
412422# Unmount
413423umount $ROOTFS || echo ' ok'
414424ROOTFS=" "
You can’t perform that action at this time.
0 commit comments