Commit d72f1143 authored by John Jarvis's avatar John Jarvis

Removing echos.

parent 366a5893
Pipeline #88986 failed with stage
in 14 seconds
......@@ -14,9 +14,9 @@ recovery=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-psql -t -d gitlab_
echo "$POSTGRESQL_AZURE_PRIMARY: pg_is_in_recovery=$recovery"
echo "postgresql will be shutdown on the above host, press enter to continue"
read -r ""
read -r
ssh_host "$POSTGRESQL_AZURE_PRIMARY" "echo sudo gitlab-ctl stop postgresql"
ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl stop postgresql"
echo "Getting status:"
p_status=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl status postgresql")
......
......@@ -17,12 +17,12 @@ do
done
echo "postgresql will be shutdown on the above hosts, press enter to continue"
read -r ""
read -r
echo "Shutting down:"
for secondary in ${POSTGRESQL_AZURE_SECONDARIES[*]}
do
ssh_host "$secondary" "echo sudo gitlab-ctl stop postgresql"
ssh_host "$secondary" "sudo gitlab-ctl stop postgresql"
done
echo "Getting status:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment