voila-dashboards / tljh-voila-gallery

Configuration for deploying the Voilà Gallery with The Littlest JupyterHub
BSD 3-Clause "New" or "Revised" License
82 stars 70 forks source link

Automated deployment #57

Closed jtpio closed 4 years ago

jtpio commented 5 years ago

Currently:

It should be possible to automate all of this while keeping the single instance setup:

jtpio commented 5 years ago

cc @yuvipanda

jtpio commented 5 years ago

Created https://github.com/voila-gallery/voila-gallery.org-deploy and opened https://github.com/voila-gallery/voila-gallery.org-deploy/pull/1.

jtpio commented 5 years ago

There could be different options for building the Docker images:

  1. trigger the build in the post_install hook. This will add a few minutes before the instance is ready
  2. let CI build the images and push to DockerHub, and let the gallery pull them in the post_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.

jtpio commented 5 years ago

Just thinking out loud here.

Another option could be: