-
Notifications
You must be signed in to change notification settings - Fork 134
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
Integration branch for next release #112
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5201449
Add reservation option.
370af5b
Fix spacing.
Petraea bf48b92
Update exec_prefix handling: template this separate from batch command.
rkdarst e956082
Add prologue and epilogue options to other spawners
rkdarst afbf5d3
Add SPAWNERS.md, a list of specific info on spawners
rkdarst 72ac758
Add keepvars_extra to whitelist more environment.
rkdarst 359fc35
Add tests for req_keepvars and req_keepvars_extra
rkdarst 05a747e
ENH (minor): bool() instead of True/False, import, a bit more consist…
yarikoptic 9165b0e
RF: consistency for SlurmSpawner - removed dated __doc__ and placed b…
yarikoptic 35f0919
RF(minor): remove not needed \ for newline continuation within functi…
yarikoptic 6546ca9
RF: revert back to if ... return True else return False
yarikoptic 5a9d6e8
RF: another removal of trailing \
yarikoptic 9a00bee
run_command: Increase debugging output in case of error
rkdarst a23b3d4
run_command: Fix possible deadlock
rkdarst c6b34a9
Travis: update for jupyterhub 9.0.1 and python 3.7
rkdarst 1b4f03d
Merge branches 'travis_jh9.0.1', 'run_command_deadlock', 'run_command…
rkdarst 327d9bd
Travis: update for jupyterhub 9.0.1 and python 3.7
rkdarst fa11cb1
Pin jsonschema=2.6.0 to fix test errors
rkdarst 61a4a0b
Merge branch 'travis_jh9.0.1' into dev
rkdarst 228107e
Pass the environment dict to all commands (query and cancel)
rkdarst 14287ac
Merge branch 'env_dict_to_commands' into dev
rkdarst a696601
SPAWNERS.md: update SlurmSpawner and general info.
rkdarst b8d43de
Merge branch 'spawner_detail' into dev
rkdarst 8633785
Merge remote-tracking branch 'upstream/pr/100' into dev
rkdarst 02c33a6
SlurmSpawner: Add reservation option to batch script
rkdarst 81ff85a
SlurmSpawner: add test for reservation option
rkdarst 46fc2bd
Merge branch 'slurm_reservation' into dev
rkdarst 4cf3732
Update changelog for release
rkdarst c91dc0b
Merge branch 'changelog' into dev
rkdarst b9f71ab
get_env: clarify documentation and security risk
rkdarst d4e21f4
Spawner detail list: updates from code review
rkdarst 5192b98
Merge branches 'env_dict_to_commands' and 'spawner_detail' into dev
rkdarst 594ba77
README.md: Typo fix
rkdarst 2045a9b
Merge branch 'spawner_detail' into dev
rkdarst 21af0af
Changelog: Split into sections by topic.
rkdarst 755f4fe
Merge branch 'changelog' into dev
rkdarst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Notes on specific spawners | ||
|
||
## `TorqueSpawner` | ||
|
||
Maintainers: | ||
|
||
|
||
## `MoabSpawner` | ||
|
||
Subclass of TorqueSpawner | ||
|
||
Maintainers: | ||
|
||
|
||
## `SlurmSpawner` | ||
|
||
Maintainers: @rkdarst | ||
|
||
This spawner enforces the environment if `srun` is used to wrap the | ||
spawner command, which is the default. If you *do* want user | ||
environment to be used, set `req_srun=''`. However, this is not | ||
perfect: there is still a bash shell begun as the user which could run | ||
arbitrary startup, define shell aliases for `srun`, etc. | ||
|
||
Use of `srun` is required to gracefully terminate. | ||
|
||
|
||
## `GridengineSpawner` | ||
|
||
Maintainers: | ||
|
||
|
||
## `CondorSpawner` | ||
|
||
Maintainers: | ||
|
||
|
||
## `LsfSpawner` | ||
|
||
Maintainers: | ||
|
||
|
||
# Checklist for making spawners | ||
|
||
Please document each of these things under the spawner list above, - | ||
even if it is "OK", we need to track status of all spawners. If it is | ||
a bug, users really need to know. | ||
|
||
- Does your spawner read shell environment before starting? (See | ||
[Jupyterhub | ||
Security](https://jupyterhub.readthedocs.io/en/stable/reference/websecurity.html). | ||
|
||
- Does your spawner send SIGTERM to the jupyterhub-singleuser process | ||
before SIGKILL? It should, so that the process can terminate | ||
gracefully. Add `echo "terminated gracefully"` to the end of the | ||
batch script - if you see this in your singleuser server output, you | ||
know that you DO receive SIGTERM and terminate gracefully. If your | ||
batch system can not automatically send SIGTERM before SIGKILL, PR | ||
#75 might help here, ask for it to be finished. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would be good to update the comment here to add clarity that 0.9.0 and later should install tornado>=5.0. This line should be updated as well.