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

Feature Request: allow a run input file to define an environment variable #161

Open
hagertnl opened this issue Feb 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@hagertnl
Copy link
Contributor

I think it could be nice if we allowed the rgt.inp harness input files to define an environment variable.
For example, say you have an application that you know you need to use a specific Git branch for. Then, you could just do a set RGT_GIT_REPS_BRANCH="mybranch" in the rgt.inp file, and you wouldn't have to worry about remembering to set it in your shell beforehand!
We'd have to be careful with the order of things, like if there were multiple set calls on the same environment variable, we'd have to just make sure they're processed and set sequentially.

@hagertnl hagertnl added the enhancement New feature or request label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant