https://github.com/cryointhecloud/hub-image
Default image for NASA's cryocloud hub
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Repository
Default image for NASA's cryocloud hub
Basic Info
- Host: GitHub
- Owner: CryoInTheCloud
- License: bsd-3-clause
- Language: Shell
- Default Branch: main
- Size: 837 KB
Statistics
- Stars: 9
- Watchers: 1
- Forks: 11
- Open Issues: 21
- Releases: 0
Metadata Files
README.md
CryoInTheCloud JupyterHub user image
The JupyterHub docker image used for hub.cryointhecloud.com, hosted on https://quay.io/repository/cryointhecloud/cryo-hub-image
The image is built with repo2docker, which uses Ubuntu Bionic Beaver (18.04) as the base image. If you'd like to run a test build locally, please read the repo2docker Getting Started doc and the repo2docker Configuration Files doc.
Updating packages in this repository
You can add or update packages on the cryointhecloud hub by making pull requests to this repository. Follow these steps:
- Edit either the
environment.ymlfile (for most packages) orapt.txtfile (for packages that need to be used in the Linux Desktop environment in the cloud). - Start a pull request - you can even do that just from the GitHub UI! A bot will comment with a link to mybinder.org where you can test your pull request to make sure it works as you would expect.
- In the Pull Request, write a comment with the slash command
/condalock. This will refresh theconda-lock.ymlfile that contains a snapshot of the exact library versions contained in the conda environment, which will be useful for reproducibility. - If the bot does not commit any changes to update the
conda-lock.ymlfile in your PR, you can check the status of the action in the "Actions" tab; the bot could fail silently, in which case you should address any errors and re-comment with the/condalockcommand.
Testing locally
To test the build locally, first ensure you have an up-to-date conda lock file, then
build with repo2docker (if your conda lock file was already updated by the bot as
described above, you can skip the first line):
conda-lock lock --mamba --kind explicit --file environment.yml --platform linux-64
repo2docker --appendix "$(cat appendix)" .
This build may take up to 30 minutes.
Once the image is built, repo2docker will automatically run a JupyterLab
server and display a message like this:
To access the notebook, open this file in a browser:
file:///home/<YOUR_USERNAME>/.local/share/jupyter/runtime/nbserver-27-open.html
Or copy and paste this URL:
http://127.0.0.1:53695/?token=<YOUR_TOKEN>
Click the URL on the last line of the repo2docker output to open the local JupyterLab
instance in your browser, and you're ready to test!
From here, you'll be able to locally test anything you can do in a cloud deployment: run terminal commands, edit and run notebooks, or start a desktop VNC session.
Updating the CryoCloud JupyterHub to use a new image
After your PR gets merged, our GitHub Actions will build and push a new image to our image repository on quay.io. You can monitor the progress of this in the GitHub Actions tab in this repo.
Once a new tag appears, someone with JupyterHub Admin permissions on the CryoCloud hub will have to
update the system to use the new image. With the new Other image selector, an admin will need to test
the image on CryoCloud and then ask a 2i2c engineer to update the image by sending them the tag name.
- When starting CryoCloud, instead of using
Python, selectOtherfrom theImageselector. - Add the tag of the image you want under
Customto use the new tag pushed for the PR in the quay.io tags page. Make sure there are no trailing spaces! - Hit 'Start'. Note that due to a bug in your image, CryoCloud may not start up and will show error messages. The image will need to be fixed if this occurs.
- Make sure all of the new tools are present and test that your imports work properly in a notebook.
- The admin can then send an email to 2i2c with the tag we want added to CryoCloud.
Owner
- Name: CryoCloud: Accelerating discovery for NASA Cryosphere communities
- Login: CryoInTheCloud
- Kind: organization
- Repositories: 3
- Profile: https://github.com/CryoInTheCloud
GitHub Events
Total
- Issues event: 8
- Watch event: 1
- Delete event: 9
- Issue comment event: 75
- Push event: 26
- Pull request event: 24
- Pull request review comment event: 4
- Pull request review event: 12
- Fork event: 3
- Create event: 12
Last Year
- Issues event: 8
- Watch event: 1
- Delete event: 9
- Issue comment event: 75
- Push event: 26
- Pull request event: 24
- Pull request review comment event: 4
- Pull request review event: 12
- Fork event: 3
- Create event: 12
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 13
- Total pull requests: 36
- Average time to close issues: 10 months
- Average time to close pull requests: 5 days
- Total issue authors: 7
- Total pull request authors: 11
- Average comments per issue: 0.92
- Average comments per pull request: 2.64
- Merged pull requests: 24
- Bot issues: 1
- Bot pull requests: 2
Past Year
- Issues: 5
- Pull requests: 16
- Average time to close issues: about 7 hours
- Average time to close pull requests: 9 days
- Issue authors: 4
- Pull request authors: 7
- Average comments per issue: 0.4
- Average comments per pull request: 2.19
- Merged pull requests: 9
- Bot issues: 1
- Bot pull requests: 2
Top Authors
Issue Authors
- scottyhq (4)
- tsnow03 (3)
- weiji14 (2)
- itcarroll (1)
- yuvipanda (1)
- elliesch (1)
- dependabot[bot] (1)
Pull Request Authors
- weiji14 (12)
- tsnow03 (7)
- scottyhq (5)
- mfisher87 (3)
- JessicaS11 (2)
- dependabot[bot] (2)
- ryanlovett (1)
- rwegener2 (1)
- fperez (1)
- agoose77 (1)
- betolink (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/github-script v3 composite
- actions/checkout main composite
- jupyterhub/repo2docker-action master composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- peter-evans/create-or-update-comment v2 composite
- tibdex/github-app-token v1 composite
- actions/checkout v3 composite
- docker/login-action v2 composite
- peter-evans/slash-command-dispatch v3 composite
- tibdex/github-app-token v1 composite
- actions/checkout main composite
- jupyterhub/repo2docker-action master composite
- jupyter-desktop-server ==0.1.3