You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something worth noting: we had a staging server that ran out of disk space with three branches deployed, each of which had 1, 5, and 12 releases respectively. Though a deploy:cleanup was run (while on master branch), it appears to have only cleaned up releases for that specific branch.
I'm guessing this was capistrano's intended functionality (though I can't yet find any documentation to corroborate), so we may want to make a note of it in our docs, if not add functionality to clean releases for all branches.
Activity
AntJanus commentedon Jan 6, 2014
I think that may work. In the production environment, there should be at least the previous copy present in case of issues during deployment.
In staging, I think that there should be only the latest update of a branch whether it's master or any other.
ericclemmons commentedon Jan 6, 2014
Makes sense to me!
EvanK commentedon Jan 16, 2014
Something worth noting: we had a staging server that ran out of disk space with three branches deployed, each of which had 1, 5, and 12 releases respectively. Though a
deploy:cleanupwas run (while onmasterbranch), it appears to have only cleaned up releases for that specific branch.I'm guessing this was capistrano's intended functionality (though I can't yet find any documentation to corroborate), so we may want to make a note of it in our docs, if not add functionality to clean releases for all branches.
Thoughts, @ericclemmons?
EvanK commentedon Jan 16, 2014
/cc @jameswlane @ericrasch
ericclemmons commentedon Jan 16, 2014
So I'll make it such that staging only has 1 release, and production defaults to 3 releases.
EvanK commentedon Jan 16, 2014
@ericclemmons That would still only affect releases for the current branch, no?
EvanK commentedon Jan 16, 2014
Gotcha...so we should still probably add this to some sort of
troubleshooting doc