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

[Feature] Built-in execution context variables #552

Closed
imkebe opened this issue Apr 10, 2024 · 1 comment
Closed

[Feature] Built-in execution context variables #552

imkebe opened this issue Apr 10, 2024 · 1 comment

Comments

@imkebe
Copy link

imkebe commented Apr 10, 2024

I want to create the script that will be executed using handlerOn. It' would be great to have built-in execution context variables for each DAG like:

  • DAG_SCHEDULER_LOG_PATH
  • DAG_EXECUTION_LOG_PATH
  • DAG_REQUEST_ID

to be able to pass them as command args.

handlerOn:
  failure:
    command: "echo There was an error while doing ${DAG_REQUEST_ID} request"
@yohamta
Copy link
Collaborator

yohamta commented Apr 11, 2024

Thanks for the great suggestion. I think this feature would be really valuable. Let's implement this. To avoid naming conflict, we could use a prefix DAGU_* or something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants