-
Notifications
You must be signed in to change notification settings - Fork 0
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 the current base images to latest versions? #2
Comments
The main thing that needs to be bumped would be The base miniconda image probably could be bumped too. |
So, we modify The miniconda image is in https://github.com/oceanhackweek/jupyter-image/blob/99b6ab599e06104dae306f1dd73eaa89545db81b/py-base/Dockerfile#L2. I'd rather leave it to you to decide what's a good version to update to. Once |
No, creating the conda-lock file has to be done manually: oceanhackweek/jupyter-image#42 Preferably I'd rip miniconda out and use micromamba to make things more lightweight, but 2i2c has an action that detects new images that runs periodically. It bumps the images in https://github.com/2i2c-org/infrastructure/blob/1c88f426c2f58c2d13060a9737fce5cbe5bc8f5a/config/clusters/2i2c/ohw.values.yaml#L38 They had us on a fast cycle for the last event, but they may have turned things down to weekly for us. |
Thanks! Ok, I'll prepare a PR for I'll ask 2i2c what image bumping cycle we're on, and whether they could set it to daily. Daily will be plenty fast at this time. |
For lack of a better place to park this information: Once an updated image has been generated, we can request an update to the hub via a PR. Here are the instructions from 2i2c:
2i2c-org/infrastructure#2233 is my first PR requesting an update to the hub. Basically, I edited the https://github.com/2i2c-org/infrastructure/blob/master/config/clusters/2i2c/ohw.values.yaml file directly on GitHub (since the edits are small). Under Listing of latest and past images: |
Once a new image is built, Github Actions posts a message to the #infrastructure channel with the image id. |
Lesson for the future: it's a good idea to rebuild the images well in advance even when no specific changes have been identified. That's to expose new conflicts among the latest dependency versions which have come up since the last image build, and to give us a comfortable lead time to resolve them before actual requests for package additions come in. |
I'm not sure if this is needed as a base preparation for other updates to the OHW hub, but I'm putting it out here just in case.
The text was updated successfully, but these errors were encountered: