-
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-script: run the global init-script before sourcing the job script #4534
Conversation
cc60953
to
4534a6a
Compare
4534a6a
to
f9b039f
Compare
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.
Looks good, just a couple of comments on docs.
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.
Looks good.
Just needs one redundant line removing from job.sh
.
97c4eba
to
f77db9e
Compare
(Small flake8 fail, change log conflict, and one of my comments on "job file sourced" is still extant). |
* Closes cylc#4520 * Allows jobs to be run on machienes which don't have a home directory by setting $HOME in the global init-script. * This comes with some caveats: * The global init-script will no longer be covered by error trapping. * The job environment will no longer be available to the global init-script. * In debug mode the global init-script will not be included in xtrace output.
f77db9e
to
cc63bc4
Compare
Done. |
by setting $HOME in the global init-script.
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.py
andconda-environment.yml
.