check internet
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
64aa66da50
commit
4dbf52f359
|
@ -13,13 +13,13 @@ steps:
|
||||||
- for h in $(cat hosts); do echo $h; echo $h; done
|
- for h in $(cat hosts); do echo $h; echo $h; done
|
||||||
- for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1; done >lastknownips
|
- for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1; done >lastknownips
|
||||||
- for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 >>lastknownhostips; done
|
- for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 >>lastknownhostips; done
|
||||||
# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n'
|
|
||||||
# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' >lastknownip
|
|
||||||
- cat lastknownhostips
|
- cat lastknownhostips
|
||||||
- cat lastknownips
|
- cat lastknownips
|
||||||
- name: build
|
- name: build
|
||||||
image: suculent/platformio-docker-build
|
image: suculent/platformio-docker-build
|
||||||
commands:
|
commands:
|
||||||
|
# Check internet connection
|
||||||
|
- ping -c 1 heise.de
|
||||||
# Build image
|
# Build image
|
||||||
- platformio run --environment d1_mini
|
- platformio run --environment d1_mini
|
||||||
- name: upload image
|
- name: upload image
|
||||||
|
|
Loading…
Reference in New Issue