Recently we came across disk space issues on our main Octopus server. The dev team were wondering why this happens; if the build tool (TeamCity in our case) is the one that pushes packages to the Octopus server, why is the disk full error appearing on Octopus when a release is deployed?
That got me thinking: how does the deployment actually work? Does Octopus first unpack the zip inside the Octopus server and then push the files to the app server? That would explain the disk getting full during a deployment. But isn’t that inefficient use of space? Wouldn’t it be cleaner to push the zip to the app server, unpack it there (assuming the right permissions are granted of course), and delete the zip once unpacking was successful?
Also, if there are pages on the Octopus documentation where I can read more about this process, it would be great if you could point me towards them.