From 290b06671599e31b232257b7bb30a42d8eff8f68 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Fri, 23 May 2014 22:10:37 -0400 Subject: glance controller test config Tempest requires an Glance image exists prior to run the test. So add start up script to make sure an Glance image exists and change tempest.conf to reflect this image uuid. Signed-off-by: Vu Tran --- .../recipes-devtools/python/python-glance_git.bbappend | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-openstack-controller-test-config/recipes-devtools/python/python-glance_git.bbappend (limited to 'meta-openstack-controller-test-config/recipes-devtools/python/python-glance_git.bbappend') diff --git a/meta-openstack-controller-test-config/recipes-devtools/python/python-glance_git.bbappend b/meta-openstack-controller-test-config/recipes-devtools/python/python-glance_git.bbappend new file mode 100644 index 0000000..1c89d51 --- /dev/null +++ b/meta-openstack-controller-test-config/recipes-devtools/python/python-glance_git.bbappend @@ -0,0 +1,16 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " file://glance-test-config.init" + +do_install_append() { + install -m 0755 ${WORKDIR}/glance-test-config.init ${D}${sysconfdir}/init.d/glance-test-config +} + +PACKAGES += " ${SRCNAME}-test-config" +FILES_${SRCNAME}-test-config = "${sysconfdir}/init.d/glance-test-config" + +RDEPENDS_${SRCNAME}-tests += " ${SRCNAME}-test-config" + +INITSCRIPT_PACKAGES += " ${SRCNAME}-test-config" +INITSCRIPT_NAME_${SRCNAME}-test-config = "glance-test-config" +INITSCRIPT_PARAMS_${SRCNAME}-test-config = "defaults 95 10" -- cgit v1.2.3-54-g00ecf