Tests for matrix variable

This commit is contained in:
starcalc 2022-08-30 18:03:36 +02:00
parent 8f818c9f76
commit 8ad938641f
1 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ steps:
- name: fetch ip
image: cburki/mosquitto-clients
commands:
- echo "${HOSTNAME}"
- echo "Hostname is: ---${HOSTNAME}--- $HOSTNAME ... \$HOSTNAME ... \${HOSTNAME} +++ $\{HOSTNAME\}"
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n'
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip
- cat "lastknownip"
@ -49,8 +49,8 @@ steps:
### https://0-8-0.docs.drone.io/matrix-builds/
###
matrix:
HOSTNAME:
- blinky1
- blinky2
include:
HOSTNAME:
- blinky1
- blinky2