|
...
|
...
|
@@ -347,15 +347,22 @@ if [[ "$HEAT_FETCHED_TEST_IMAGE" == "Fedora-i386-20-20131211.1-sda" ]]; then
|
|
347
|
347
|
HEAT_CFN_IMAGE_URL="https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/i386/$HEAT_FETCHED_TEST_IMAGE.qcow2"
|
|
348
|
348
|
IMAGE_URLS+=",https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/i386/$HEAT_FETCHED_TEST_IMAGE.qcow2"
|
|
349
|
349
|
elif [[ "$HEAT_FETCHED_TEST_IMAGE" == "Fedora-x86_64-20-20131211.1-sda" ]]; then
|
|
350
|
|
- HEAT_CFN_IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"
|
|
351
|
|
- IMAGE_URLS+=",https://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"
|
|
|
350
|
+ HEAT_CFN_IMAGE_URL="https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"
|
|
|
351
|
+ IMAGE_URLS+=",https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"
|
|
352
|
352
|
fi
|
|
353
|
353
|
|
|
354
|
354
|
# Uncomment after nodepool changes land
|
|
355
|
|
-#if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
|
|
356
|
|
-# HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"https://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"}
|
|
357
|
|
-# IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
|
|
358
|
|
-#fi
|
|
|
355
|
+# if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
|
|
|
356
|
+# HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"}
|
|
|
357
|
+# IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
|
|
|
358
|
+# fi
|
|
|
359
|
+
|
|
|
360
|
+# Staging Area for New Images, have them here for at least 24hrs for nodepool
|
|
|
361
|
+# to cache them otherwise the failure rates in the gate are too high
|
|
|
362
|
+PRECACHE_IMAGES=$(trueorfalse False $PRECACHE_IMAGES)
|
|
|
363
|
+if [[ "$PRECACHE_IMAGES" == "True" ]]; then
|
|
|
364
|
+ IMAGE_URLS+=",https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"
|
|
|
365
|
+fi
|
|
359
|
366
|
|
|
360
|
367
|
# 10Gb default volume backing file size
|
|
361
|
368
|
VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-10250M}
|