-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Interest in switching appveyor to docker #40711
Comments
ZOMG YES PLEASEOr more seriously, I would love to do this. It would:
I don't know if AppVeyor has support for this yet, but if they do then I see no reason to not implement this. I'd do it for OSX if I could... |
Sadly, I suspect not many contributors have access to Windows server 2016 for isolating issues on ;) (good idea regardless though) |
@aidanhs If you have Windows 10 Professional or Enterprise then you can use Windows Containers just fine. |
Huh, neat. Thanks for pointing that out, I wasn't aware. |
I believe AppVeyor has a new @TimNN would you be interested in poking around? |
@alexcrichton: Sure, I'll look into it. |
I've started playing around with docker on windows and can report a first success: However one problem is already apparent: The size of the windows base image is ~10GB, though it luckily should be preloaded on windows servers with docker support (unless there are different versions of the image used). This nevertheless means that our current approach to caching docker images is no longer a viable option (at least I don't think so). Additionally just installing the necessary build tools (cmake, python, git, vcbuildtools) increases the image size by another 4GB, which will not be preloaded. Thus I believe that before we can consider switching appveyor to docker we need to first consider alternative docker caching strategies, so that at least the base image can be excluded from the cache. One possible caching strategy I could imagine:
Some thoughts on that method:
|
Some other issues I encountered (although I haven't investigated them in depth yet):
While I'll continue to investigate, my intuition says that it's a bit too early to use docker for windows for our ci builds. |
Even if there wasn't a performance problem, Rust is known for its high frequency of spurious failures when working off network drives due to assuming operations finish as soon as the function returns, despite that not actually happening because network drives. For example: #28002 |
Thanks for all the investigation @TimNN! Sounds like we unfortunately shouldn't jump the gun just yet :( |
So apparently docker is available on windows [1] and appveyor [2] [3].
I was wondering if there was any interest in moving the appveyor builds to use docker -- which would make it easier to test windows builds locally without having to fiddle with msys / mingw / etc..
If there is interested (and no one else is interested in doing it) I would be interested in looking into that (after the LLVM 4.0 upgrade is done).
The text was updated successfully, but these errors were encountered: