One of the few network interactions that we still have in devstack
gate is downloading get-pip.py from github (it's not even in the
pypi cdn). This fails a few times a day on average.
This is avoidable by adding get-pip.py to the devstack cache during
node prep.
Closes-Bug: #1299176
Change-Id: I72a75f27a416e9a4cc98b42c2702293676ca0e2d
if the new devstack image_list.sh tool is found, use that are our
definitive image collection API out of devstack. We fall back to
the old method if it's not found, or fails to execute cleanly.
Change-Id: I9c59ac505b0a1085add76bfc6cb1b14e5545fc28
Nodepool's devstack image cacher was redownloading every image one time
per devstack branch. We only need to download the image once if the
image name doesn't change.
Change-Id: Ib1910c34b8479ebad740a915fcc9297205cbe387
Since devstack-gate no longer relies on the workspace-cache
directory, this is an unnecessary waste of effort.
Change-Id: Ic9ef8b269d0184f5891d355901bbfb29f7273670
Cache all review.openstack.org git repos in /opt/git.
Subsequent changes to gerrit-git-prep and devstack-gate will make
use of these repos (eventually deprecating the devstack-gate repos
is ~jenkins/workspace-cache).
Refactor the devstack cache python script a bit to make common
functions reusable. Also rename it because underscores are better
than hyphens for python file names.
Change-Id: I4ae40613ebcca62b0dfc2eaba159557a4c71a529