Ensure subunit2html.py is installed 13/17013/3
authorKyle Mestery <mestery@mestery.com>
Sun, 22 Mar 2015 18:07:07 +0000 (18:07 +0000)
committerKyle Mestery <mestery@mestery.com>
Sun, 22 Mar 2015 19:10:53 +0000 (19:10 +0000)
devstack-gate requires this and assumes it's installed when the host is
"puppetized." We don't use puppet for the ODL CI, so manually install
this instead.

Change-Id: Ie656c7a65e20f5edba171d2c23c1cc22f8e4e9c7
Signed-off-by: Kyle Mestery <mestery@mestery.com>
jjb/ovsdb/include-raw-openstack-ci.sh

index 201e340726f5c2b5bae725344f0d2825fd6b1fc3..f2c0cad47b92d9c8f03cea1ff4484bd4b97777bb 100644 (file)
@@ -16,6 +16,14 @@ sudo mkdir -p /opt/stack/new
 sudo chown -R jenkins:jenkins /opt/stack/new
 sudo bash -c 'echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers'
 
+# We need to install some scripts from openstack-infra/project-config
+cd ~
+echo "Setting up infra scripts"
+sudo mkdir -p /usr/local/jenkins/slave_scripts
+git clone https://git.openstack.org/openstack-infra/project-config
+cd project-config
+sudo cp jenkins/scripts/subunit2html.py /usr/local/jenkins/slave_scripts
+
 # Save existing WORKSPACE
 SAVED_WORKSPACE=$WORKSPACE
 export WORKSPACE=~/workspace