pudl icon indicating copy to clipboard operation
pudl copied to clipboard

Consider eliminating the runtime shell wrapper

Open rousik opened this issue 1 year ago • 1 comments

At the moment, some functionality of our pipeline is contained in the wrapper shell script see here.

We might want to consider reducing the complexity contained in this shell script and move some of the functionality into the native python code. That way, the startup layout will be simplified and we will have one source of truth (the python script) for most of this. Some things might even be more powerful (e.g. slack notification could contain some diagnostic information on failure) if we move it to python.

The following functions are performed by shell script:

  • [ ] slack notifications (slack-notifications library should do the trick)
  • [ ] gcs/s3 file upload
  • [ ] shutting down VM (should be handled automatically when moved to batch)

rousik avatar Jun 07 '23 06:06 rousik

related to #3209

jdangerx avatar Jan 29 '24 22:01 jdangerx