The documentation sadly doesn't explain how to set environment variables for the containers that are created by az batch job create using e.g. a repeatTask.
By searching the Python code of the extension in this repo, I found out that environment variables can be configured as follows:
It would be much easier to find out how to do this, if it was explained somewhere in the (otherwise quite detailed) docs in this repo. If it's not something specific to this extension, a link describing it would have already helped a lot, since web searches also didn't turn it up for me.
The documentation sadly doesn't explain how to set environment variables for the containers that are created by
az batch job create
using e.g. arepeatTask
.By searching the Python code of the extension in this repo, I found out that environment variables can be configured as follows:
It would be much easier to find out how to do this, if it was explained somewhere in the (otherwise quite detailed) docs in this repo. If it's not something specific to this extension, a link describing it would have already helped a lot, since web searches also didn't turn it up for me.