Skip to content

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

Merged
bshand merged 1 commit into
mainfrom
feature/ignore_cleanup_errors
Jun 29, 2026
Merged

Capistrano: deployment should continue even if cleanup cannot delete files#162
bshand merged 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.

@ollietulloch ollietulloch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bshand 🙇

@bshand bshand merged commit cafa643 into main Jun 29, 2026
14 checks passed
@bshand bshand deleted the feature/ignore_cleanup_errors branch June 29, 2026 12:40
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.

2 participants