Skip to content

Capistrano: deployment should continue even if cleanup cannot delete files#162

Open
bshand wants to merge 1 commit into
mainfrom
feature/ignore_cleanup_errors
Open

Capistrano: deployment should continue even if cleanup cannot delete files#162
bshand wants to merge 1 commit into
mainfrom
feature/ignore_cleanup_errors

Conversation

@bshand

@bshand bshand commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Capistrano deployments currently fail part way through, with the code deployed but not restarted, if the deploy:cleanup task fails because of file ownership / permissions issues, or because of files locked over an NHS mount.

This PR changes cap deploy:cleanup to show an error message, but keep going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant