You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar feature requirement.
Description
The head and worker pods use a login shell bash -l but the submitter pod command does not.
The documentated preStop lifecycle should probably also use a login shell and bash instead of sh for consistency.
Use case
I'm using pixi inside of Docker and activating the environment requires running pixi's shell hook. I added source shell-hook.sh to .bash_profile so that this happens for login shells.
What I actually would prefer is if ray could use args everywhere, rather than command so that the ENTRYPOINT stays intact.
Related issues
No response
Are you willing to submit a PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Description
The head and worker pods use a login shell
bash -l
but the submitter pod command does not.The documentated
preStop
lifecycle should probably also use a login shell andbash
instead ofsh
for consistency.Use case
I'm using pixi inside of Docker and activating the environment requires running pixi's shell hook. I added
source shell-hook.sh
to.bash_profile
so that this happens for login shells.What I actually would prefer is if
ray
could useargs
everywhere, rather thancommand
so that the ENTRYPOINT stays intact.Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: