Skip to content
Snippets Groups Projects
Commit 070036db authored by Michal Nasiadka's avatar Michal Nasiadka
Browse files

CI: bump cirros to 0.6.1

Change-Id: I80fb1469ae4ff8d38198e495690496fcb5eadc18
parent 0a128d24
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment