Merge "CI: bump cirros to 0.6.1"
This commit is contained in:
commit
88d51f8d2e
@ -19,7 +19,7 @@ fi
|
||||
# to be created.
|
||||
|
||||
ARCH=$(uname -m)
|
||||
CIRROS_RELEASE=0.6.0
|
||||
CIRROS_RELEASE=0.6.1
|
||||
IMAGE_PATH=/opt/cache/files/
|
||||
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
|
||||
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
|
||||
@ -75,7 +75,7 @@ echo Checking for locally available cirros image.
|
||||
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
|
||||
IMAGE_PATH='./'
|
||||
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
|
||||
echo None found, downloading cirros image.
|
||||
echo "None found, downloading cirros image (version $CIRROS_RELEASE)."
|
||||
curl --fail -L -o ${IMAGE_PATH}/${IMAGE} ${IMAGE_URL}/${IMAGE}
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user