Proper image-library overrides#88882
Conversation
See [the conversation](docker-library/official-images#20115 (comment))
|
Add one more fix but how could I know, if it fix everything or not... :( |
|
Partially works, but the new tests aren't added to the test suit https://github.com/ClickHouse/ClickHouse/actions/runs/18774789304/job/53580623535#step:5:583 |
|
@alexey-milovidov, @Felixoid, sure, no rush. And I apologize for tons of errors and fixed in my PR. If there is some documentation how to run |
I'll create a PR to make it locally runnable |
|
Thanks a lot. Let's go, it's so long-awaited tests. Now, we'll add more and more tests to cover our docker images' functions. |
|
Let's revert and reintroduce once it's fixed |
|
@Felixoid, oh no: looks like docker-build.sh doesn't working in the CI. Either need to rewrite it, or (/and) get rid of docker-library at all. |
|
I cannot come up with a good fix for running this job locally. As a temporary solution, I can suggest this: |
| for image in check_images: | ||
| cmd = f"{run_sh} {image}" | ||
| cmd = f"{run_sh} {image} -c {repo_path / 'test/config.sh'} -c {config_override}" | ||
| test_results.append(Result.from_commands_run(name=test_name, command=cmd)) |
There was a problem hiding this comment.
we need test_name = f"docker library {image} test" or something similar in the loop to avoid duplicates
|
@Felixoid, @maxknv, FYI, to fix the cross-platform docker-library image overrides, that caused the problem, I would try to push build command override initiative to docker-library. If the maintainers resist against it, I could try to implement our own docker-image testing system instead. What do you think? |
|
Looks like docker-library team is not so enthusiastic about supporting |
|
Sorry, I was on vacation for a few days, and I'm now getting through the backlog. We can avoid rebuilding another image here and mount a file into a container. What was the original reason to use this method?
Answering this, it's the other way. Without this |
See docker-library/official-images#20115 (comment)
Changelog category (leave one):