I would like to clear that i am not a sysadmin pro in any way, and maybe my question is answered already, but as long as i searched on google/serverfault/SO i didn't find anything similar.
Let's say we have 2 single files that we want to update on one production server. We can do that with ssh
-git
. AFAIK files get uploaded one by one. Assume now, that we want these two files to be upload at once
and by no means we want the user to face the unlucky situation of file1UpdatedVersion
and file2OldVersion
.
So i assume we have to shutdown the server, upload files, make some tests that everything is working properly and open the server again.
Is there any automation software where we can send a list of files that are for upload, feed it with some test cases where our update will be considered successful,then shutdown-update-start server
, providing us in that way the minimum server downtime
?
Thanks for your time !