-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 CI validation leg for source-build against an image with the tools our source-build partners use to ensure we don't break our source-build partners. #50811
Conversation
…s our source-build partners use to ensure we don't break our source-build partners.
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
@jkoritzinsky do you know who's the runtime's sourcebuild champion? We need to add one leg for sourcebuild for PR + official and wanted to make sure we are not repeating work here. |
I'm not sure who the contact is. @dagood do you know? |
Looks like @jaredpar is the runtime's source-build champion. The tracking issue I believe is dotnet/source-build#2052 |
@Anipik set up the existing source build leg and drove most of our source-build changes in 5.0. |
(Please feel free to replace
So this has the default
The entrypoint by itself works. But if you add additional arguments (such as
Overriding the entrypoint makes it work:
I guess the a better entrypoint in that container would be something like |
Looks like the best entrypoint I can tell is |
Docker image update PR at dotnet/dotnet-buildtools-prereqs-docker#434 |
That's a good idea. I'll try to hook that in as well. |
…time into source-build-validation
Seems like either |
It works on the image locally on my machine, so I'm not sure what the problem is on CI. |
Do you know a way to see what the exact docker command it runs for the build? It seems to run |
Tested this locally. Apparently |
… it for command executed in a running container.
Got it building by adding the |
No. It's not part of the final shipped .NET sdk, so source-build doesn't care about it. |
This is ready for review. |
…time into source-build-validation
Hello @jkoritzinsky! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
This should help us ensure that we won't break RedHat by relying on newer tool versions than what they have available when building from source.