Skip to content
Snippets Groups Projects
Commit 88d51f8d authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "CI: bump cirros to 0.6.1"

parents ff0fca8f 070036db
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ fi ...@@ -19,7 +19,7 @@ fi
# to be created. # to be created.
ARCH=$(uname -m) ARCH=$(uname -m)
CIRROS_RELEASE=0.6.0 CIRROS_RELEASE=0.6.1
IMAGE_PATH=/opt/cache/files/ IMAGE_PATH=/opt/cache/files/
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/ IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
...@@ -75,7 +75,7 @@ echo Checking for locally available cirros image. ...@@ -75,7 +75,7 @@ echo Checking for locally available cirros image.
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
IMAGE_PATH='./' IMAGE_PATH='./'
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then 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} curl --fail -L -o ${IMAGE_PATH}/${IMAGE} ${IMAGE_URL}/${IMAGE}
fi fi
else 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