Skip to content

Commit b0e57cf

Browse files
author
Dean Troyer
committed
Add CI tests
1 parent 5db287c commit b0e57cf

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ OPENSTACKX_BRANCH=diablo
3939
QUANTUM_REPO=https://github.com/openstack/quantum
4040
QUANTUM_BRANCH=stable/diablo
4141

42+
# CI test suite
43+
CITEST_REPO=https://github.com/openstack/openstack-integration-tests.git
44+
CITEST_BRANCH=master
45+
4246
# Specify a comma-separated list of uec images to download and install into glance.
4347
IMAGE_URLS=http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz
4448

tools/build_ci_config.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ source ./stackrc
4848
# Where Openstack code lives
4949
DEST=${DEST:-/opt/stack}
5050

51+
DIST_NAME=${DIST_NAME:-natty}
52+
5153
# Process network configuration vars
5254
GUEST_NETWORK=${GUEST_NETWORK:-1}
5355
GUEST_RECREATE_NET=${GUEST_RECREATE_NET:-yes}
@@ -78,9 +80,9 @@ GLANCE_PORT=$2
7880
CONFIG_FILE_TMP=$(mktemp $CONFIG_FILE.XXXXXX)
7981
cat >$CONFIG_FILE_TMP <<EOF
8082
[environment]
81-
aki_location = include/sample_vm/natty-server-cloudimg-amd64-vmlinuz-virtual
82-
#ari_location = include/sample_vm/natty-server-cloudimg-amd64-loader
83-
ami_location = include/sample_vm/natty-server-cloudimg-amd64.img
83+
aki_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64-vmlinuz-virtual
84+
#ari_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64-loader
85+
ami_location = $DEST/openstack-integration-tests/include/sample_vm/$DIST_NAME-server-cloudimg-amd64.img
8486
8587
[glance]
8688
host = $GLANCE_HOST
@@ -102,7 +104,7 @@ port = 8774
102104
apiver = v1.1
103105
project = admin
104106
user = admin
105-
key = $SERVICE_TOKEN
107+
key = $ADMIN_PASSWORD
106108
ssh_timeout = 300
107109
build_timeout = 300
108110
flavor_ref = 1

0 commit comments

Comments
 (0)