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_ ...@@ -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_AZURE_PRIMARY: pg_is_in_recovery=$recovery"
echo "postgresql will be shutdown on the above host, press enter to continue" 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:" echo "Getting status:"
p_status=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl status postgresql") p_status=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl status postgresql")
......
...@@ -17,12 +17,12 @@ do ...@@ -17,12 +17,12 @@ do
done done
echo "postgresql will be shutdown on the above hosts, press enter to continue" echo "postgresql will be shutdown on the above hosts, press enter to continue"
read -r "" read -r
echo "Shutting down:" echo "Shutting down:"
for secondary in ${POSTGRESQL_AZURE_SECONDARIES[*]} for secondary in ${POSTGRESQL_AZURE_SECONDARIES[*]}
do do
ssh_host "$secondary" "echo sudo gitlab-ctl stop postgresql" ssh_host "$secondary" "sudo gitlab-ctl stop postgresql"
done done
echo "Getting status:" 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