-if test -n "${missing_vars}"; then echo "Required environment variable(s) not set:${missing_vars} - check CI / CD variables in the project settings" >&2; exit 1; fi;
# apparently ash can't do process substitution, so we have to write this to a file temporarily