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

Support for defining ENV variables #91

Open
soebbing opened this issue May 10, 2019 · 1 comment
Open

Support for defining ENV variables #91

soebbing opened this issue May 10, 2019 · 1 comment

Comments

@soebbing
Copy link

It would be nice to be able to define some ENV variable in the scripts.

e.g. this command prints out the database credentials for every one to see (and they might
even be logged). It would be great to be able to define an ENV variable to hold the password, in the case of mysql this would be MYSQL_PWD

mysql -u '__DB_USER__' -p'__DB_PASSWORD__' -h '__DB_HOST__' --port='__DB_PORT__' -e "DROP DATABASE IF EXISTS \`__DB_NAME__\`"
@JanPietrzyk
Copy link
Contributor

JanPietrzyk commented May 13, 2019

Hey, the new XML-Syntax should enable this nicely:

<const name="MYSQL_PWD" envVar="true">test</const>

like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants