-
Notifications
You must be signed in to change notification settings - Fork 18
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
export environment variables with a "bot: build" comment #281
Comments
For EESSI, specifically the 2023.06 production software stack, we solve such issues by putting easystack (re)build files in sub-directory and process them differently than other easystack files. When we build for EESSI we run in a shell provided by the compatibility layer by executing I guess in your case you don't run in a shell of the compatibility layer, hence you don't have that problem. If we could spin your idea a bit further, say one could add any argument like,
one could use that also for additional one-off cases:
Downside would be that it would only work with Slurm (maybe acceptable for the time being). One might want to implement some kind of white/blacklist for what |
extending this to any job option would make it even more useful indeed.
that seems sensible, yes.
indeed, we don't :) |
To control environment variables for the build job, maybe a more direct approach is better:
This would then make the bot create a
This may make more sense mainly because |
the goal is to have a flexible way to customize a build in a PR comment for one-off situations.
the solution proposed here is to add support for exporting environment variables into the job (via
sbatch --export
), for example:my main use case is to force a rebuild on our cluster (e.g. via
EASYBUILD_REBUILD=true
) for software that has already been installed previously, but i have several other use cases in mind as well.any thoughts on this proposal?
The text was updated successfully, but these errors were encountered: