Add alternative upload for debugging. ricefish
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 12 Sep 2024 16:47:09 +0000 (18:47 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 12 Sep 2024 16:48:12 +0000 (18:48 +0200)
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ie401c9b94f428f8a37dc366151d8a4178882602a

common/scripts/agl-screenshot-test.sh
common/scripts/artiproxy-upload.sh

index 7ac573d..c1bc50c 100755 (executable)
@@ -142,11 +142,13 @@ for SCREENSHOT in agl-screenshot-*.png ; do
        break
     else
        echo "A Screenshot does not match the reference image"
+       curl -F "file=@./${SCREENSHOT}" https://x0.at/ || true
        FINALRET=127
     fi
-
 done
 
+
+
 if [ $FINALRET != 0 ] ; then
     for i in agl-screenshot-*.png ; do
        ${SCRIPTDIR}/./artiproxy-upload.sh $i "$i"
index 2d4302b..a4a5685 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+curl --silent -F "file=@./$1" https://x0.at/ || true
+
+
 if [ -z "$PYARTIPROXY_IP" ];then
 
        echo "DEBUG: No PYARTIPROXY_IP variable, using fallbacks"