check internet
continuous-integration/drone/push Build is failing Details

This commit is contained in:
starcalc 2022-08-30 19:38:04 +02:00
parent 64aa66da50
commit 4dbf52f359
1 changed files with 2 additions and 2 deletions

View File

@ -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