Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve env var setting upon new deployment #16

Open
lasse16 opened this issue May 29, 2021 · 0 comments
Open

Improve env var setting upon new deployment #16

lasse16 opened this issue May 29, 2021 · 0 comments

Comments

@lasse16
Copy link
Owner

lasse16 commented May 29, 2021

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.

@lasse16 lasse16 mentioned this issue Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant