Rename nodepool integration script

We no longer expect this script to run the test, but rather, just
setup the host.  Rename it accordingly.

Also, remove the temporary sleep and log cat as the job now does
something useful.

Change-Id: I0236d36b0c531777e61422de4273c5e8fb33323a
Depends-On: I12143ac0841e5fc646448eae4171594579fa0086
changes/63/424863/7
James E. Blair 6 years ago
parent f88b817813
commit b44a7efa27

@ -0,0 +1,12 @@
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --workspace /tmp --cache-dir /opt/git \
git://git.openstack.org openstack-infra/nodepool
ln -s /tmp/nodepool/log $WORKSPACE/logs
cd /tmp/openstack-infra/nodepool
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
sudo pip install .
bash -xe ./tools/zuul-nodepool-integration/start.sh

@ -1,23 +0,0 @@
#!/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