-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add tests against dockerd on the host system (k8s cordining/uncording not tested) #98
Conversation
813dfab
to
285219b
Compare
for more information, see https://pre-commit.ci
(Min I'm working this actively atm) |
It seems that the image builds doesn't add to the space detected by the image cleaner in our test setup. If we don't run pytest as sudo, we get 0.0GB of space reported, and if we use sudo, I get 0.1GB of space reported - never more. I've tried using docker:20-dind and docker:24-dind without difference. I think the key question is to figure out where in the dind container the built images get saved.
@minrk I couldn't stay away from the mystery, it was solved by replacing /dev/zero with /dev/urandom, use of nocache=True passed to the build also didn't do the trick. I opened the following as part of working on this: |
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.
Pweh tests as passing and makes sense to me, feel free to go for a merge or push changes and then merge @minrk!
Wonderful! |
started working on these, but it immediately became difficult to run tests locally because I haven't been able to get docker-in-docker to work with a mounted docker directory (presumably a docker-on-mac issue). Shouldn't be a problem on true linux, though.
closes #16