Skip to content

Conversation

@SeanMBrennan
Copy link
Contributor

Add '--delete-volumes' option to tilt down that removes volumes for docker compose projects only.

docker compose down does not remove internal volumes without a '-v|--volumes' option. This change adds that option if tilt down is called with an additional '--delete-volumes' option.

Tested and working as expected.

@SeanMBrennan SeanMBrennan force-pushed the feature/deleteVolumes branch from e47d99b to 9a24286 Compare August 13, 2025 13:45
@SeanMBrennan
Copy link
Contributor Author

SeanMBrennan commented Aug 13, 2025

Looks like CI tests failed on a spurious timeout, but I cannot re-run the test pipeline.

nvm, force pushed another rebase to trigger the CI pipeline.

… docker compose projects only.

Signed-off-by: Sean Brennan <[email protected]>
Signed-off-by: Sean Brennan <[email protected]>
@SeanMBrennan SeanMBrennan force-pushed the feature/deleteVolumes branch from 9a24286 to 590b67b Compare August 13, 2025 14:45
@nicks
Copy link
Member

nicks commented Aug 14, 2025

i like this proposal but now everyone is going to complain that --delete-volumes=false will delete kubernetes volumes. but maybe someone can do that later 😂

@nicks
Copy link
Member

nicks commented Aug 14, 2025

LGTM!

@nicks nicks merged commit 285288a into tilt-dev:master Aug 14, 2025
7 checks passed
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