dbx
dbx copied to clipboard
How to get the rendered result of jinjia2 for processing
trafficstars
I want to automatically add some attributes to each task,such as {"--job-id": {{job_id}}}
All I can think of is to get the workflow file rendered by jinjia2 and add attributes. Of course, if there is a better way, please let me know
- dbx version used:
- 0.8.9
hi @nonpool ,
you can write the deployment result into a file, e.g.:
dbx deploy ... --write-specs-to-file=deployment-result.json
Would that be something you're looking for, or you want to see the rendered result prior to deployment?