-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make image building in hubploy.yaml optional #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @scottyhq! Left a bunch of comments.
@yuvipanda - any other changes needed? I'd love to get this merged to fix the linked issue above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized i didn't ping you after making the requested changes @yuvipanda . What do you think, ok to merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM!
- common.yaml | ||
- staging.yaml | ||
- prod.yaml | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm slightly conflicted about re-documenting this structure here. It is helpful, when its kept up to date, but keeping it up to date when its written out in multiple places is a bit messy. Even in this file, its written out on line 110 for example.
I think it's fine to repeat ourselves a bit though, its probably better than assuming its fresh in the reader's mind.
@scottyhq it looks like you've done what I've done for your deployment and just commented out the
and we didn't define We could also enable the 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 #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