ReproNim / reproman

ReproMan (AKA NICEMAN, AKA ReproNim TRD3)
https://reproman.readthedocs.io
Other
24 stars 14 forks source link

run: option to specify resource actions upon at the initiation and upon completion of the run in --follow mode #469

Open yarikoptic opened 4 years ago

yarikoptic commented 4 years ago

AWS EC2 time is not cheap, we should make it possible to "fire and forget" a computation without monitoring the progress to just shut it down to not incur charges when it is already idling.

Ideally reproman run -r mylarge-ec2 would start mylarge-ec2 first, do all the run needs, fetch the results and stop the resource upon completion. So may be it could be as simple as a predefined list of actions to do on the resource, e.g. --resource-actions={start,stop-after,delete-after,email-after}?

kyleam commented 4 years ago

gh-479 addressed this aside from the "email-after" suggestion.