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

origen site command does not consider environment variables #313

Open
ginty opened this issue Dec 14, 2018 · 1 comment
Open

origen site command does not consider environment variables #313

ginty opened this issue Dec 14, 2018 · 1 comment
Assignees
Labels

Comments

@ginty
Copy link
Member

ginty commented Dec 14, 2018

The origen site command reported that the use_bootsnap variable was set to false:

$ origen site env

...
use_bootsnap: false
...

However, when it was referenced by Origen code it returned true:

Origen.site_config.use_bootsnap    # => true

The origen site env result did accurately reflect what was in the origen_site_config.yml files, however the site config system allows setting of these variables via environment variables, and it turns out that I had this in my .bashrc:

export ORIGEN_USE_BOOTSNAP=true

It looks like the origen site command needs to be updated to make it aware of environment variables so that it gives an accurate reflection of the runtime values.

@coreyeng
Copy link
Member

Okay. Thanks for pointing this out! I'll take of this when I revisit the site config.

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

No branches or pull requests

2 participants