Post 3.0 docker and CI discussion #12235
Replies: 5 comments 16 replies
-
We really need to figure out in general how to move forward regards this. We can't be stuck on Chromium 95 forever. |
Beta Was this translation helpful? Give feedback.
-
Which specific jobs/tests require a pinned chromium version? I would say lets use a docker image for just those jobs in CI, and let's nominally plan to publish a docker image for at/around the beginning of each
I would personally suggest looking at Amazon ECR, we already have service accounts etc set up there, it would streamline maintenance somewhat to keep as much as possible in one place under AWS |
Beta Was this translation helpful? Give feedback.
-
@brydev I don't have any experience of ECR, so do you have an idea of how this might work from our end? Could we have a github secret that allows our CI to push new docker images to ECR? I suppose we should have a boolean upload flag on the image-generating github action as we may not always want to upload if just testing out some configuration changes. |
Beta Was this translation helpful? Give feedback.
-
I've made some improvements to the docker container in this branch: https://github.com/bokeh/bokeh/commits/ianthomas23/docker_updates. Now when running the container on Linux all the bokehjs tests pass including the visual integration tests. For python tests, Python integration tests are OK if you exclude the "test_server_on_click_round_trip" tests, i.e. So as we stand it would be possible to create a github action that uses the docker container for all of the tests except the firefox and on_click_round_trip tests. I've tried the docker container on my M1 mac (different OS and processor architecture) and you can run (Latest details on headless chrome on M1: when run Ideally I would test it now on Windows (which I can do) and Intel mac (which I can't). |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I don't have AWS experience either. Reminder to @bryevdv and @ianthomas23 that we still have https://hub.docker.com/repository/docker/bokeh/demo.bokeh.org and https://hub.docker.com/repository/docker/bokeh/bokeh floating around, that I just use for testing purposes. Now that 3.0 is released, I can take some time to get back into the development workflow(s) in due time. |
Beta Was this translation helpful? Give feedback.
-
Just after the 3.0 release will be a good time to revisit the docker image idea. Now that I have easy access to all 3 major OSes I would like to be able to build and test locally using docker for repeatable results regardless of OS.
There isn't much to change in the docker image creation process for this, we mostly just need to agree (or not) on creating a 3.0-dev image, uploading it somewhere so that it is easily available (docker hub?) and keep on using it until whatever the next Bokeh release will be whereupon we repeat the process.
But we would need to decide on what version of chrome to use for testing and update all of the baseline images to use that version.
We could leave GitHub Actions running on Ubuntu 20.04 or switch to using the docker image instead?
Beta Was this translation helpful? Give feedback.
All reactions