Files
dts-scripts/scripts/local-deploy.sh
Maciej Pijanowski 084d27d939 tests: port from meta-dts
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-07-25 22:22:33 +02:00

18 lines
323 B
Bash
Executable File

#!/usr/bin/env bash
# This scripts deplos DTS scripts into target machine, for local development
IP_ADDR="$1"
PORT=${PORT:-22}
scp -P ${PORT} \
-O \
-o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
include/* \
reports/* \
scripts/* \
tests/* \
dts-profile.sh \
root@${IP_ADDR}:/usr/sbin