-
Notifications
You must be signed in to change notification settings - Fork 134
Everytime the jdk gets updated on build machines, VMR builds break and need a manual update in aspnetcore #4816
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
Comments
It looks like we own the blob storage where these native tools are hosted - is there an LKG link? We could just update aspnetcore's global.json to use |
On CI we shouldn't download the toolset. It's a requirement that it is already preinstalled on the image. |
Not sure I see what you're getting at - my suggestion was that we switch to specifying |
I probably misunderstood you. Which blob storage are you referring to? I don't think that we still host native tools, do we? |
I'm just basing that assumption off of our InstallJdk script - we download from |
Actually, even on that blob storage there is no 11.0.25, so maybe it's no longer maintained. We could switch to using something like @halter73 @BrennanConroy how strong is our desire to match Java versions everywhere? I think that'd be hard to do if CI builds were saying "Use whatever's on the build machine", as that'd be constantly (though not frequently) changing |
Closing as aspnetcore now uses "latest": https://github.com/dotnet/aspnetcore/blob/bd4a06387dec0939c9afd7beb1f547fd93ad9f6c/global.json#L27 |
See dotnet/sdk#45822 for more details. I wonder if we really need to specify the exact jdk version that must be available on the build agent. As long as we do that, we keep breaking the VMR and aspnetcore builds with every update.
Arcade has support for finding tools on the machine and promoting them to PATH by using "latest" as the version in global.json. It doesn't attempt to download or install it (anymore) - it must already be available. But that's a necessity anyway for our build agents that are managed by dnceng and our docker images that we control.
Based on dotnet/aspnetcore#58465 (comment), the aspnetcore team still wants a local option to install a version of the jdk, i.e. by invoking a script.
cc @mmitche @wtgodbe @BrennanConroy @akoeplinger
The text was updated successfully, but these errors were encountered: