Common environment variable across tasks #8934
-
|
Is there a web or worker config that allows injecting environment variables in all ran tasks? My use case is I'd like to disable telemetry for some tools we run in tasks by setting the related env but don't want to have to figure out which tasks to specifically add it to or worry about missing adding it to future created tasks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Sadly there is no way to globally inject env vars into every task container. Good use-case for adding such a feature though. |
Beta Was this translation helpful? Give feedback.
-
|
Another use case I see is setting CI=true globally. Many tools recognize this variable to, e.g., prevent flooding the output. |
Beta Was this translation helpful? Give feedback.
Sadly there is no way to globally inject env vars into every task container. Good use-case for adding such a feature though.