-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Arcade powered source build #32790
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
Arcade powered source build #32790
Conversation
eng/source-build-patches/0001-Remove-Yarn-dependency-not-used-in-source-build.patch
Outdated
Show resolved
Hide resolved
@@ -171,7 +178,8 @@ | |||
linux-musl-arm64; | |||
linux-x64; | |||
linux-arm; | |||
linux-arm64 | |||
linux-arm64; | |||
freebsd-x64 |
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.
@MichaelSimons Can you provide the background why this was added?
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.
FreeBSD is a community effort which we want to foster.
Issue - dotnet/source-build#1139
Initial PR - dotnet/source-build#1362
Another discussion item is whether we can remove the need to clone to artifacts and run the inner build in that subdirectory. The clone step seems redundant since we expect to only run source build on the CI and on the off chance we need to run it locally, directly patching or changing the files on disk is likely acceptable. |
@MichaelSimons One more question. I see we have been using |
FYI, there are several unresolved questions/issues in this PR as marked out by comments, so I'm hesitant to merge as is. However, the build is passing so the PR is ready for initial review. @MichaelSimons We confirmed that the build produced the Microsoft.SourceBuild.Intermediate.aspnetcore.6.0.0-ci.nupkg package as expected but we should also check that that nupkg contains the right set of contents. Can you provide a list of what's expected to be in it (maybe a list of what was built in preview3 or preview4) so I can check that against what's produced by the build? |
You should continue to use $(DotNetBuildFromSource) this gets set when the inner build is run. |
dotnet-dev-certs |
Took a diff of the contents of M.SourceBuild.Intermediate.aspnetcore and what you provided: The only diff is expected from this change: #32043 |
eng/source-build-patches/0001-global.json-updates-for-source-build.patch
Outdated
Show resolved
Hide resolved
Keeping this hidden until I hear back what it's used for in source build
This reverts commit ed8816a.
I've addressed all feedback items and this is ready for a final review. |
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.
Please remove the Target from SourceBuild.props which applies the patches. This should not be needed going forward - https://github.com/dotnet/aspnetcore/blob/main/eng/SourceBuild.props#L9
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.
eng/scripts/prepare-sourcebuild-globaljson.sh is nice work 🥇
Fixes: #31445