This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
User home #142
Draft
delgadom
wants to merge
4
commits into
master
Choose a base branch
from
user-home
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
User home #142
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,18 @@ | ||
# Welcome! | ||
|
||
If you're seeing this, you're on a jupyterhub server maintained by | ||
[Rhodium Group](https://github.com/RhodiumGroup). Welcome! | ||
|
||
If you have any questions, are troubleshooting an issue, or would like to report | ||
a bug, don't hesitate to shout on the | ||
[#rhg-hub](https://rhgroup.slack.com/archives/CA8DZHUH1) slack channel, or | ||
file an issue on our | ||
[github repository](https://github.com/RhodiumGroup/docker_images/issues). | ||
|
||
If you are having trouble accessing either of these, please contact | ||
[Michael Delgado](mailto:[email protected]). | ||
|
||
Please note that the `~/about` folder in which this readme file lives is | ||
overwritten on every server reboot. Do not attempt to save anything in this | ||
folder - instead save your work in other folders within your home directory | ||
(`/home/jovyan`, a.k.a. `~/`). |
File renamed without changes.
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 |
---|---|---|
|
@@ -4,17 +4,13 @@ set -x | |
|
||
echo "Copy Dask configuration files from pre-load directory into home/.config" | ||
mkdir -p /home/jovyan/.config/dask | ||
cp --update -r -v /pre-home/config.yaml /home/jovyan/.config/dask/ | ||
|
||
# should probably pick one of these!!! The second is new, but is implied by the | ||
# cp /pre-home below, and we actually only read the version in ~ in rhg_compute_tools. | ||
cp -r -v /pre-home/worker-template.yml /home/jovyan/.config/dask/ | ||
cp -r -v /pre-home/worker-template.yml /home/jovyan/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we now drop this b/c it is implied by the copy of the full folder below? |
||
|
||
sudo rm /pre-home/config.yaml | ||
|
||
echo "Copy files from pre-load directory into home" | ||
cp --update -r -v /pre-home/. /home/jovyan | ||
sudo rm -r /pre-home | ||
|
||
# mirror directory used on workers | ||
sudo mkdir -p /opt/gcsfuse_tokens/ | ||
|
@@ -36,7 +32,7 @@ done | |
|
||
if [ -f "/home/jovyan/worker-template.yml" ]; then | ||
echo "appending service-account-credentials to worker-template"; | ||
python /home/jovyan/add_service_creds.py; | ||
python /home/jovyan/.maintenance/add_service_creds.py; | ||
fi | ||
|
||
# Run extra commands | ||
|
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.
We can drop this line right? It will be implied by the copy of the folder contents?