add scppvp

This commit is contained in:
Jakobus Schürz 2023-06-13 12:54:40 +02:00
parent 463a35aed9
commit bafd937fdd

View file

@ -1339,6 +1339,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