add scppvp
This commit is contained in:
parent
506bd03a38
commit
210a838a31
1 changed files with 14 additions and 0 deletions
14
functions.sh
14
functions.sh
|
@ -1323,6 +1323,20 @@ pg_drop_and_recreate_db () {
|
||||||
\l+ ${DB}
|
\l+ ${DB}
|
||||||
\c postgres
|
\c postgres
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scppvp () {
|
||||||
|
local SERVICE=$1
|
||||||
|
local SETTINGS="$(ls -t $HOME/git/bmi/at.gv.bmi.common.pvp.settings/target/pvp-settings*|head -n1)"
|
||||||
|
local PVPAUTH="$(ls -t ${HOME}/git/bmi/at.gv.bmi.${SERVICE}.pvp.authenticator/target/pvp-*|head -n1)"
|
||||||
|
cat << EOF
|
||||||
|
deploy ${SERVICE}
|
||||||
|
SETTINGS: ${SETTINGS}
|
||||||
|
PVP Authenticator: ${PVPAUTH}
|
||||||
|
EOF
|
||||||
|
parallel-scp -h ${HOME}/.dsh/group/${SERVICE} ${SETTINGS} ${PVPAUTH} /root/INSTALL
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#EOF
|
#EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue