|
...
|
...
|
@@ -639,11 +639,17 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then
|
|
639
|
639
|
DOWNLOAD_DEFAULT_IMAGES=False
|
|
640
|
640
|
fi
|
|
641
|
641
|
|
|
642
|
|
-# Staging Area for New Images, have them here for at least 24hrs for nodepool
|
|
643
|
|
-# to cache them otherwise the failure rates in the gate are too high
|
|
|
642
|
+# Staging area for new images. These images are cached by a run of
|
|
|
643
|
+# ./tools/image_list.sh during CI image build (see
|
|
|
644
|
+# project-config:nodepool/elements/cache-devstack/extra-data.d/55-cache-devstack-repos).
|
|
|
645
|
+#
|
|
|
646
|
+# To avoid CI failures grabbing the images, new images should be here
|
|
|
647
|
+# for at least 24hrs (nodepool builds images at 14:00UTC) so the they
|
|
|
648
|
+# are in the cache.
|
|
644
|
649
|
PRECACHE_IMAGES=$(trueorfalse False PRECACHE_IMAGES)
|
|
645
|
650
|
if [[ "$PRECACHE_IMAGES" == "True" ]]; then
|
|
646
|
|
-
|
|
|
651
|
+ # required for trove devstack tests; see
|
|
|
652
|
+ # git.openstack.org/cgit/openstack/trove/tree/devstack/plugin.sh
|
|
647
|
653
|
IMAGE_URL="http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2"
|
|
648
|
654
|
if ! [[ "$IMAGE_URLS" =~ "$IMAGE_URL" ]]; then
|
|
649
|
655
|
IMAGE_URLS+=",$IMAGE_URL"
|