Closed jtpio closed 4 years ago
cc @yuvipanda
There could be different options for building the Docker images:
post_install
hook. This will add a few minutes before the instance is readypost_install
hook (using latest
or a specific tag from a ref
field in gallery.yaml
). Option 1 might still be more adequate (at least for now), especially if we want to keep the gallery generic enough for those who want to deploy their own gallery and don't want to deal with container registries.
This again follows the idea of having an immutable TLJH instance with a specific set of examples. If the examples change they a new instance should be created.
Just thinking out loud here.
Another option could be:
Currently:
sudo python3 the-littlest-jupyterhub/bootstrap/bootstrap.py --plugin tljh-voila-gallery/
It should be possible to automate all of this while keeping the single instance setup:
gallery-deploy
repo)openstack
client with avoila-gallery-deploy
user to start a new instance behind a floating IP (see https://github.com/voila-gallery/gallery/issues/55) and do a rolling upgrade