Tests for matrix variable
This commit is contained in:
parent
8f818c9f76
commit
8ad938641f
|
@ -7,7 +7,7 @@ steps:
|
||||||
- name: fetch ip
|
- name: fetch ip
|
||||||
image: cburki/mosquitto-clients
|
image: cburki/mosquitto-clients
|
||||||
commands:
|
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'
|
||||||
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip
|
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip
|
||||||
- cat "lastknownip"
|
- cat "lastknownip"
|
||||||
|
@ -49,8 +49,8 @@ steps:
|
||||||
### https://0-8-0.docs.drone.io/matrix-builds/
|
### https://0-8-0.docs.drone.io/matrix-builds/
|
||||||
###
|
###
|
||||||
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
include:
|
||||||
HOSTNAME:
|
HOSTNAME:
|
||||||
- blinky1
|
- blinky1
|
||||||
- blinky2
|
- blinky2
|
||||||
|
|
Loading…
Reference in New Issue