Correct some ordering in build-and-deploy
This commit is contained in:
parent
560cb609ba
commit
db09b4c983
|
@ -28,9 +28,9 @@ for HOST in ${HOSTS[@]}; do
|
||||||
ssh $HOST $SUDO rm -rf /tmp/pvc
|
ssh $HOST $SUDO rm -rf /tmp/pvc
|
||||||
ssh $HOST mkdir /tmp/pvc
|
ssh $HOST mkdir /tmp/pvc
|
||||||
scp ../*.deb $HOST:/tmp/pvc/
|
scp ../*.deb $HOST:/tmp/pvc/
|
||||||
ssh $HOST $SUDO dpkg -i /tmp/pvc/*.deb
|
ssh $HOST $SUDO dpkg -i /tmp/pvc/{pvc-client-cli,pvc-daemon-common,pvc-daemon-api,pvc-daemon-node}*.deb
|
||||||
ssh $HOST $SUDO systemctl restart pvcnoded
|
|
||||||
ssh $HOST rm -rf /tmp/pvc
|
ssh $HOST rm -rf /tmp/pvc
|
||||||
|
ssh $HOST $SUDO systemctl restart pvcnoded
|
||||||
echo "****"
|
echo "****"
|
||||||
echo "Waiting 10s for host ${HOST} to stabilize"
|
echo "Waiting 10s for host ${HOST} to stabilize"
|
||||||
echo "****"
|
echo "****"
|
||||||
|
|
Loading…
Reference in New Issue