-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allow to override emulator config from config file defined by path in… #492
base: master
Are you sure you want to change the base?
Conversation
701dbff
to
64ceec2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we add unit test (you can add in test_emulator file)? and could we add it in readme (about how to use it)?
cli/src/constants/ENV.py
Outdated
@@ -30,6 +30,7 @@ | |||
EMULATOR_NAME = "EMULATOR_NAME" | |||
EMULATOR_NO_SKIN = "EMULATOR_NO_SKIN" | |||
EMULATOR_SYS_IMG = "EMULATOR_SYS_IMG" | |||
EMULATOR_OVERRIDE_CONFIG_PATH = "EMULATOR_OVERRIDE_CONFIG_PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EMULATOR_CONFIG_PATH is a better name I think. what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, no problem, renamed. :-)
Thank you so much @jirkace for the PR. I just leaved some comments on this PR. |
64ceec2
to
e77d4ae
Compare
OK, I'll try to do it today. |
e77d4ae
to
ab95b72
Compare
ab95b72
to
c8a8f0c
Compare
@budtmo Please, check it. |
… EVN
Types of changes
Put an
x
in the boxes that applyPurpose of changes
#242
EMULATOR_OVERRIDE_CONFIG_PATH
(eg.-e EMULATOR_OVERRIDE_CONFIG_PATH="/tmp/config.ini"
) and mount the file as volume (eg-v /your/path/to/config/config.ini:/tmp/config.ini
) during docker run command