nfvbenchvm: fix image URL in build log 12/73812/1
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>
Wed, 18 Jan 2023 08:51:22 +0000 (09:51 +0100)
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>
Wed, 18 Jan 2023 08:57:25 +0000 (09:57 +0100)
Update the link to access to the qcow2 VM image in Google storage: use
https instead of http

Change-Id: I315fec57ae12256753bc9abf561c29aafa9aa325
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
nfvbenchvm/dib/build-image.sh

index c5d24da..c320192 100755 (executable)
@@ -130,7 +130,7 @@ function build_image {
     echo "Checking if image exists in google storage..."
     if  command -v gsutil >/dev/null; then
        if gsutil -q stat gs://$gs_url/$1.qcow2; then
-           echo "Image already exists at http://$gs_url/$1.qcow2"
+           echo "Image already exists at https://$gs_url/$1.qcow2"
            echo "Build is skipped"
            exit 0
        fi
@@ -204,7 +204,7 @@ function build_image {
         if command -v gsutil >/dev/null; then
             echo "Uploading $1.qcow2..."
             gsutil cp $1.qcow2 gs://$gs_url/$1.qcow2
-            echo "You can access to image at http://$gs_url/$1.qcow2"
+            echo "You can access to image at https://$gs_url/$1.qcow2"
         else
             echo "Cannot upload new image to the OPNFV artifact repository (gsutil not available)"
             exit 1