Closed scottyhq closed 4 years ago
@yuvipanda - any other changes needed? I'd love to get this merged to fix the linked issue above
@scottyhq it looks like you've done what I've done for your deployment and just commented out the build
step in the GitHub Action. It feels like we should really make that a method that you can pass through without error if it isn't needed. Ex. if we ran
hubploy build dssg2020 --check-registry --push
and we didn't define images
in hubploy.yaml
, it should output Building 0 images
and return successfully (which it might do, need to test).
We could also enable the images
block to specifically hold DockerHub entries. This would need some work in __main__.py
, the docs, and hubploy-template
. Maybe some new options in config.py
.
Is this something you'd be willing to work on as part of this PR, or should we open up another issue and have this be its own PR?
Agree it would be nice to have what @salvis2 asked for. Could be a separate PR, though.
@consideRatio the documentation here continues to be a mess, unfortunately... Needs a lot of fixing :(
Closes https://github.com/yuvipanda/hubploy/issues/73
This allows bypassing hubploys image building in favor of an existing image as described here https://zero-to-jupyterhub.readthedocs.io/en/latest/customizing/user-environment.html#choose-and-use-an-existing-docker-image
Just added conditionals on the existence of the
images:
key in hubploy.yaml. If that section does not existhubploy deploy commands
still work. I did not add any error catching if people are to runhubploy build
without theimages:
keyTested on local hubploy commands for a single hub (https://github.com/escience-pangeo/dssg-jhub). but haven't yet considered how this might affect CI. cc @salvis2 @yuvipanda