Have dagobah allow tasks to use some variables specific to dagobah such as:
Unique run ID for a job
Time start
Not sure if theres anything else but just an idea. Could be manually added to the map generated from os.environ (see the patch I just submitted) so tasks can just access like $DAGOBAH_JOB_ID or $DAGOBAH_TIME_START for example.
Pitfalls: Cannot pass environment variables to remote machines. Could be implemented as string replacements on the task, but then we have to worry about escaping keywords if needed. (I guess that wouldnt be that bad if you use something like $dagobah_run_id)
Issue by rclough Friday Aug 08, 2014 at 22:13 GMT Originally opened as https://github.com/thieman/dagobah/issues/111
Have dagobah allow tasks to use some variables specific to dagobah such as:
Not sure if theres anything else but just an idea. Could be manually added to the map generated from
os.environ
(see the patch I just submitted) so tasks can just access like $DAGOBAH_JOB_ID or $DAGOBAH_TIME_START for example.Pitfalls: Cannot pass environment variables to remote machines. Could be implemented as string replacements on the task, but then we have to worry about escaping keywords if needed. (I guess that wouldnt be that bad if you use something like $dagobah_run_id)