-
Notifications
You must be signed in to change notification settings - Fork 792
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
Update Dockerfile to JH 1.0 #1291
Conversation
I think it's better to also remove the |
I think I'd do the opposite - It wasn't updated in the Dockerfile because this value is never used, it is always set as the build arg by chartpress. So maybe we should have an invalid version in the arg to make it a non-optional arg: |
I feel like that would make it more difficult for those not using chartpress to generate images, myself included. The way I see it, the dockerfile should be the complete configuration while the chartpress data should be scaffolding to assist in building the containers. I feel like making the dockerfile invalid by default would be a bad move. Thinking back on other parts of our CI system, there are other bits that have |
I don't think it's particularly helpful for this chart to support being built without the tools used to build this chart. One of the consequences is issues like this - needing to maintain unused configuration in multiple locations, which always results in the unused/unsupported paths being out-of-date. I think requiring chartpress is reasonable. Can I ask what's the impediment to building the images as intended with chartpress? |
TBH I don't know much about chart press other than the name. It looks like less of a hassle than I thought, I'm not even sure how aware I was that it was a JH product. I agree with the versioning nightmare concerns. You're right. It's probably best to break the |
Could defaulting zero-to-jupyterhub-k8s/images/hub/Dockerfile Lines 42 to 46 in 5bc1c2c
if [ -z "$JUPYTERHUB_VERSION" ]; echo jupyterhub be an acceptable compromise?
|
I like it, but it could be dangerous. I don't think it's a good idea. If JH releases a new version before we support it, it could cause issues. Or if you rollback to an old tag/branch, it will try to use the latest version. |
As @vilhelmen has use of this, and it is obviously better than having it say 0.9, I'll go ahead and merge this. I'd support a change where we set it to something invalid to enforce the user to realize a good practice is to use chartpress (#1291 (comment)), and not mislead the user that this value has meaning for the deployment process which I thought. |
Took me awhile to debug this one. Dockerfile doesn't actually point to JH 1.0 in #1263 @minrk
Perhaps it'd be better to remove the arg from the ci system and rely on the dockerfile to keep this from happening again?