Other debugs
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
43f3ac6563
commit
211a8ce4d6
|
@ -35,15 +35,12 @@ steps:
|
||||||
echo "Current IP to upload is $thisip"
|
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
|
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
|
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
|
- name: upload configs
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
commands:
|
commands:
|
||||||
|
- echo "Hello for curl"
|
||||||
|
- ls -lA /bin
|
||||||
- |
|
- |
|
||||||
which bash
|
|
||||||
ls /bin/bash
|
|
||||||
chmod u+x ./uploadfs.sh
|
chmod u+x ./uploadfs.sh
|
||||||
./uploadfs.sh
|
./uploadfs.sh
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
echo "Running"
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
echo "Line is ${line}"
|
echo "Line is ${line}"
|
||||||
|
|
Loading…
Reference in New Issue