Skip to content

Commit

Permalink
Move rebooting servers to internetarchive#4457
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and Sabreen-Parveen committed Feb 5, 2021
1 parent e9321bf commit f875ef5
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions scripts/deployment/start_production_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,6 @@ do
ssh $REMOTE_HOST $CONTINUE
done

echo "Press return to continue the deployment..."
read

# Reboot all hosts EXCEPT ol-web2
FINISH="/opt/openlibrary/scripts/deployment/finish_production_deployment.sh"
bash $FINISH
REMOTE_HOSTS="ol-covers0 ol-web1"
for REMOTE_HOST in $REMOTE_HOSTS
do
ssh $REMOTE_HOST $FINISH
done

echo "Press return to finish the deployment..."
read

# Reboot all hosts EXCEPT ol-web2
ssh ol-web2 $FINISH

echo "Finished production deployment at $(date)"
echo "To reboot the servers, please run scripts/deployments/restart_all_servers.sh"

0 comments on commit f875ef5

Please sign in to comment.