Add CI tests

This commit is contained in:
Dean Troyer 2011-11-04 12:13:43 -05:00
parent 5db287c465
commit b0e57cf38f
2 changed files with 10 additions and 4 deletions

View file

@ -39,6 +39,10 @@ OPENSTACKX_BRANCH=diablo
QUANTUM_REPO=https://github.com/openstack/quantum QUANTUM_REPO=https://github.com/openstack/quantum
QUANTUM_BRANCH=stable/diablo QUANTUM_BRANCH=stable/diablo
# CI test suite
CITEST_REPO=https://github.com/openstack/openstack-integration-tests.git
CITEST_BRANCH=master
# Specify a comma-separated list of uec images to download and install into glance. # Specify a comma-separated list of uec images to download and install into glance.
IMAGE_URLS=http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz IMAGE_URLS=http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz

View file

@ -48,6 +48,8 @@ source ./stackrc
# Where Openstack code lives # Where Openstack code lives
DEST=${DEST:-/opt/stack} DEST=${DEST:-/opt/stack}
DIST_NAME=${DIST_NAME:-natty}
# Process network configuration vars # Process network configuration vars
GUEST_NETWORK=${GUEST_NETWORK:-1} GUEST_NETWORK=${GUEST_NETWORK:-1}
GUEST_RECREATE_NET=${GUEST_RECREATE_NET:-yes} GUEST_RECREATE_NET=${GUEST_RECREATE_NET:-yes}
@ -78,9 +80,9 @@ GLANCE_PORT=$2
CONFIG_FILE_TMP=$(mktemp $CONFIG_FILE.XXXXXX) CONFIG_FILE_TMP=$(mktemp $CONFIG_FILE.XXXXXX)
cat >$CONFIG_FILE_TMP <<EOF cat >$CONFIG_FILE_TMP <<EOF
[environment] [environment]
aki_location = include/sample_vm/natty-server-cloudimg-amd64-vmlinuz-virtual aki_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64-vmlinuz-virtual
#ari_location = include/sample_vm/natty-server-cloudimg-amd64-loader #ari_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64-loader
ami_location = include/sample_vm/natty-server-cloudimg-amd64.img ami_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64.img
[glance] [glance]
host = $GLANCE_HOST host = $GLANCE_HOST
@ -102,7 +104,7 @@ port = 8774
apiver = v1.1 apiver = v1.1
project = admin project = admin
user = admin user = admin
key = $SERVICE_TOKEN key = $ADMIN_PASSWORD
ssh_timeout = 300 ssh_timeout = 300
build_timeout = 300 build_timeout = 300
flavor_ref = 1 flavor_ref = 1