Open maroony opened 5 years ago
In the meantime I extract the information from the environment variable SHIPYARD_USER_CMD. So I do something like this:
output_data:
azure_storage:
- storage_account_settings: my_storage_account
remote_path: /my/path/$(tmp=${SHIPYARD_USER_CMD##*=}; echo ${tmp%%;*})
local_path: ${AZ_BATCH_NODE_SHARED_DIR}/here/are/my/files/$(tmp=${SHIPYARD_USER_CMD##*=}; echo ${tmp%%;*})
I would like to use the task factorys placeholder variables
{0}
as described here to set environment variables in myjobs.yaml
file:At the moment I do something like this:
The problem ist, that I can not use
${FOO}
in paths foroutput_data
:It seems, that the placeholder variable
{0}
is only evaluated within the task command. Is there another way to "promote" the values of{0}
so that I can use them everywhere in the shipyard's yaml files?