From 211a8ce4d609133c0acf12e6c240c311cd53bab6 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Aug 2022 21:24:37 +0200 Subject: [PATCH] Other debugs --- .drone.yml | 9 +++------ uploadfs.sh | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 93a8400..85de56e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,17 +35,14 @@ steps: echo "Current IP to upload is $thisip" curl --insecure --no-progress-meter --fail-with-body --request POST --url "https://espota.ctdo.de/" --header "Content-Type: multipart/form-data" --form ip="$thisip" --form firmware=@.pio/build/d1_mini/firmware.bin --no-buffer done - # Upload file system image with espota-gateway, leave it to espota-gateway to retry often enough - #- | - # curl --insecure --no-progress-meter --fail-with-body --request POST --url "https://espota.ctdo.de/" --header "Content-Type: multipart/form-data" --form ip="$lastknownip" --form spiffs=@.pio/build/d1_mini/spiffs.bin --no-buffer - name: upload configs image: curlimages/curl commands: + - echo "Hello for curl" + - ls -lA /bin - | - which bash - ls /bin/bash chmod u+x ./uploadfs.sh - ./uploadfs.sh + ./uploadfs.sh environment: IOTSSID: from_secret: iotssid diff --git a/uploadfs.sh b/uploadfs.sh index a93d886..e92ff2e 100644 --- a/uploadfs.sh +++ b/uploadfs.sh @@ -1,5 +1,5 @@ #!/bin/sh - +echo "Running" while read line do echo "Line is ${line}"