Add nodepool integration test script

Change-Id: I197df80280d4454de7566549930fa6e6348e65c4
Depends-On: Icc58521f520f719f24f59132c424b3a71432285f
changes/88/422288/7
James E. Blair 6 years ago
parent 287d092c96
commit ac8df45bc5

@ -0,0 +1,23 @@
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org \
openstack-infra/nodepool
cd openstack-infra/nodepool
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
sudo pip install .
cd $WORKSPACE
cd openstack-infra/zuul
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
sudo pip install .
cd $WORKSPACE
bash -xe openstack-infra/nodepool/tools/zuul-nodepool-integration/start.sh
# TODO(jeblair): something useful and save logs
sleep 30
cat /tmp/nodepool/log/nodepool-builder.log
cat /tmp/nodepool/log/nodepool-launcher.log
Loading…
Cancel
Save