config templating: add validation
config templating: add validation: a task in smol-software-harbor (Harbor dataset). When a template references a variable that is not set, render.sh dies with bash's own unbound variable error. Make it check every referenced variable first: for the first undefined one (in alphabetical order) print…
The task
When a template references a variable that is not set, `render.sh` dies with bash's own `unbound variable` error. Make it check every referenced variable first: for the first undefined one (in alphabetical order) print exactly `render: undefined variable NAME` to stderr and exit with status 1, printing nothing on…
Part of efederici/smol-software-harbor.