* Update docker_healthcheck.py
This does not (always) work. Sometimes, other JSON files appear in the directory, like this kernel-xxx file
jpserver-6.json
jpserver-6-open.html
kernel-374f4977-29fc-43e0-8a48-231f6980fdab.json
changing the glob expression to something like "jpserver*.json" instead of simply "*.json" should solve the problem (at least in my case, I checked with a quick patch on a live container, the healthcheck immediately turned 'healthy' again...)
* Update base-notebook/docker_healthcheck.py
* Update docker_healthcheck.py
---------
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Get healthcheck URL from JSON file
Obtain Jupyter server's full URL from
/home/$NB_USER/.local/share/jupyter/runtime/*.json
and use it for healthcheck.
* Expand tests for healthcheck
* Update pre-commit config
* Remove workdir from tests
* Wait for container start with 0.1s interval
* Quote NB_USER variable on base-notebook/Dockerfile
* Fix style and make test actually work
* Ooops, GitHub didn't show last line
* Fix mypy
* Use bash with pipefail option for healthcheck
* Create python script for healthcheck
* Don't verify SSL certificate on healthcheck
* Update healthcheck test
- Add "user" parameter
- Add tests when container should not be healthy
* Fix typo
* Update test_healthcheck.py
---------
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Use the JUPYTER_PORT environment variable to configure server port
- Remove port setting in jupyter_server_config.py
- Declare the $JUPYTER_PORT env on the base Dockerfile
- Use it for HEALTHCHECK
* Add test case for JUPYTER_PORT env variable
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update documentation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update style
* Better wording
* Better wording
* Add test for custom internal port
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Parametrize internal port test case
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Try to fix test
* Better tests
Co-authored-by: Muhammad Aji Muharrom <ajimuharrom@uchicago.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
* Create base-jupyter from base-notebook for non-server jupyter applications
* Fix pre-commit errors and begin test refactoring
* More test refactoring
* Add base-jupyter to images_hierarchy
* Use folder work instead of .jupyter in nb-user test
* Add base-jupyter to tagging hierarchy
* Linting: trailing comma
* Apply review comments, remove obsolute Miniforge reference
* Add self-signed cert comment back to base-notebook doc
* Update docs/using/selecting.md
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Remove redundant apt-get upgrade per review
* Remove b/c approaches per review
* Move test_nb_user_change back to base-notebook tests, per review
* fix linting
* Rename base-jupyter to docker-stacks-foundation, per review
* Rename tests/base-jupyter to docker-stacks-foundation
* Use alphabetical order
* Use alphabetical order
* Fix markdown style
* Split test_nb_user_change between the foundation and base tests
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Merge tags and create multi-platform images
* Add new files :)
* Provide images
* Fix
* Fix
* Use the same naming style as python for the images
* Fix docker image rmi command
* Use plumbum.FG
* Fix
* Add missing path
* Few merging fixes
* Add pushing manifests
* Add missing path
* Add arch to apply tags
* Use platform word
* Remove unused step
* Merge tags for tensorflow as well
* Do not use print
* Make merge_tags work when image doesn't exist
* Add logs
* Add icon
* Add tensorflow-notebook workaround
* Unify platform usage
* Remove unused function
* Fix
* Update docs
* Removing inkscape
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Adding Rprofile to add plot_mimetypes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update datascience-notebook/Dockerfile
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Update datascience-notebook/Rprofile.site
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Adding R notebook tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Moving Rprofile.site to minimal;
Removing duplicate R test code
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixing flake8 errors
* Update minimal-notebook/Dockerfile
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Update minimal-notebook/Rprofile.site
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Removing empty line
* Renaming minetypes to mimetypes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Renaming test module to avoid mypy error
* Adding to jupyter.plot_mimetypes
* Update R_mimetype_check.py
* Update test_mimetypes.py
* Update test_R_mimetypes.py
* Update test_R_mimetypes.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
* Try to fix mamba under aarch64 QEMU by setting ENV G_SLICE=always-malloc
* Set G_SLICE inside if statement
* Write "extract_threads: 1" to /opt/.condarc
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>