Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Considering having a meta-command to pull output directory of a job then initiates a deletion process #37

Closed
0xicingdeath opened this issue Feb 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@0xicingdeath
Copy link

0xicingdeath commented Feb 26, 2024

I'm only just realizing that to delete a job output folder in Digital Ocean, it moves folders into "pending destruction state," which then takes 2 calendar weeks before it actually deletes. This means that even through the DigitalOcean API, jobs are stuck in "deleting" mode

image

Thus, I think it would help to have a command that would effectively run:

cloudexec pull --job XXX output  # pulls output directory 
cloudexec clean --job XXX  # removes all files from that job

It would mean every time a job finishes, we can immediately pull the output, and start a process deletion which doesn't allow the state to grow so crazily.

@0xicingdeath 0xicingdeath added the enhancement New feature or request label Feb 26, 2024
@bohendo
Copy link
Collaborator

bohendo commented Mar 15, 2024

resolved by #43

@bohendo bohendo closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants