You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-03-06 15:01:22 -08:00
scripts/local-deploy.sh: added
This commit is contained in:
committed by
Maciej Pijanowski
parent
ea11103303
commit
f89f49e67f
17
scripts/local-deploy.sh
Executable file
17
scripts/local-deploy.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/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/* \
|
||||
unit_tests/* \
|
||||
dts-profile.sh \
|
||||
root@${IP_ADDR}:/usr/sbin
|
||||
Reference in New Issue
Block a user