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

Set an environment variable with the path to the root #334

Open
kwinkunks opened this issue Feb 7, 2023 · 1 comment
Open

Set an environment variable with the path to the root #334

kwinkunks opened this issue Feb 7, 2023 · 1 comment

Comments

@kwinkunks
Copy link
Member

In at least a couple of places (komodo.show_version() and this issue in komodoenv) it would be nice to know the patH to the Komodo root, e.g. /prog/res/komodo/2022.11.02-py38-rhel7.

Currently, you'd have to detect it by reading KOMODO_RELEASE and then looking for the element of PATH containing that release.

@berland
Copy link
Contributor

berland commented Feb 8, 2023

See also how this needs special casing for transitioning of komodo deploy folders on on-prem vs azure:

https://github.com/equinor/equilibrium/blob/main/equilibrium/bin/komodo_job_dispatch#L69-L76
https://github.com/equinor/equilibrium/blob/main/equilibrium/bin/run_external#L52-L59

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

2 participants