Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

CLI command to delete specific builds from the disk #122

Open
agis opened this issue Jul 8, 2019 · 0 comments
Open

CLI command to delete specific builds from the disk #122

agis opened this issue Jul 8, 2019 · 0 comments

Comments

@agis
Copy link
Contributor

agis commented Jul 8, 2019

Deleting a build in mistry (e.g. for freeing up disk space) is not a straightforward task:

  1. it's filesystem-dependent
  2. it has to be done with care with regards to the latest link (i.e. builds pointed to by the latest link should not be deleted)

For this reason, we should have a CLI command in the server binary (mistryd) that is aware of the above and can be used to easily delete specific builds.

Something like:

$ mistryd delete-build <build-id>
@agis agis changed the title Provide a command to delete specific builds CLI command to delete specific builds from the disk Jul 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant