You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Dotter offers no way of setting environment variables upon deployment.
I worked around that by sourcing the rendered template of my .dotter/pre_deploy.sh hook.
This is however a hacky way. It generates several annoyances with subshells, returning processes, inherited environment variables.
Currently upon deployment via dotter deploy, there are no environment variables set.
I wrote a custom wrapper script, setup_full.sh, which sources the rendered template in .dotter/cache/.dotter/pre_deploy.sh.
Two issues are mentioning the problem, this and this. They are however not implemented yet.
Keep up to date with those issues and think of a better solution.
The text was updated successfully, but these errors were encountered:
Currently Dotter offers no way of setting environment variables upon deployment.
I worked around that by sourcing the rendered template of my
.dotter/pre_deploy.sh
hook.This is however a hacky way. It generates several annoyances with subshells, returning processes, inherited environment variables.
Currently upon deployment via
dotter deploy
, there are no environment variables set.I wrote a custom wrapper script,
setup_full.sh
, which sources the rendered template in.dotter/cache/.dotter/pre_deploy.sh
.Two issues are mentioning the problem, this and this. They are however not implemented yet.
Keep up to date with those issues and think of a better solution.
The text was updated successfully, but these errors were encountered: