-
Notifications
You must be signed in to change notification settings - Fork 94
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
job.sh: run as bash only #3093
job.sh: run as bash only #3093
Conversation
Guess I can remove that “shell” info from the job fields in the UI feed.. |
Ooh, good point! See 881ad17. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM at a glance 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good!
Should we update the docs too?
diff --git a/doc/src/appendices/suiterc-config-ref.rst b/doc/src/appendices/suiterc-config-ref.rst
index 91385e60a..58d31d61f 100644
--- a/doc/src/appendices/suiterc-config-ref.rst
+++ b/doc/src/appendices/suiterc-config-ref.rst
@@ -1572,18 +1572,6 @@ job file path.
- *example*: ``llsubmit \%(job)s``
-.. _JobSubShell:
-
-[runtime] ``->`` [[\_\_NAME\_\_]] ``->`` [[[job]]] ``->`` shell
-'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-
-Location of the bash shell invoked on job hosts to interpret task job scripts,
-if not installed in the standard location.
-
-- *type*: string
-- *root default*: ``/bin/bash``
-
-
.. _JobSubRefRetries:
[runtime] ``->`` [[\_\_NAME\_\_]] ``->`` [[[job]]] ``->`` submission retry delays
@@ -2015,7 +2003,7 @@ parser is concerned these are just normal configuration items).
- *type*: string
- *default*: (none)
- *legal values*: depends to some extent on the task job
- submission shell (:ref:`JobSubShell`).
+ submission shell
- *examples*, for the bash shell:
- ``FOO = $HOME/bar/baz``
Just kicked Travis to see if the build passes now 👍 |
So I see @oliver-sanders latest commit removes the remaining ability to configure the location of the bash interpreter, if 'not in the standard location' (left in when I removed ksh support a few days ago) ... in which case, yes the associated user-guide docs should be removed too. So long as we can rely on bash always being located at |
Note genuine test failure due to removal of the |
BTW: Happy to revert the last commit if desired.
It hadn't occurred to me that that might be a problem. I'm not sure why this would happen, installing multiple bash versions?
Yes! About time we auto-generated this... |
881ad17
to
9027d8b
Compare
Follow-up to #3088, use
bash
shebang for thejob.sh
file.