-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enable Signing in Repos that Override Build Actions #44855
Conversation
efb3429
to
0e78a8c
Compare
Looks like the |
Signing aspnetcore is failing because there are no ItemsToSign defined in Signing.props: https://github.com/dotnet/aspnetcore/blob/main/eng/Signing.props#L7-L9 Signing aspnetcore artifacts in the VMR needs to be enabled, so I'm continuing this discussion in dotnet/aspnetcore#58445 (comment). In the meantime, I'm going to draft this PR. |
That's weird. Can you please file an issue in fsharp to track allowing the |
Yes, filed dotnet/fsharp#18011 |
04da26d
to
b521059
Compare
Need dotnet/aspnetcore#58987 to unblock aspnetcore signing in this PR. |
Interesting. Fsharp is failing on windows with an empty |
FYI, dotnet/source-build#4424 is the reason why the AzDO output isn't really helpful here. Unfortunately, fsharp sometimes returns a 0 exit code even though the inner build failed. |
Edited: Fsharp on window builds I included the patch for the fix in a8b7fb5 |
src/SourceBuild/patches/fsharp/0001-Allow-empty-ItemsToSign-when-building-VisualFSharp-w.patch
Outdated
Show resolved
Hide resolved
@ellahathaway are you sure about that? When I look at a linux vertical (example AzureLinux_x64_Cross_x64) I see the following artifacts getting produced:
|
Here are the artifacts that I see when I look at the windows vertical:
Diving into the fsharp binlogs, there are the following items being signed in the linux: By contrast, there are the following items being signed in the windows vertical: I filed dotnet/source-build#4799 to investigate the missing package from the Linux build. |
It looks like both I filed dotnet/fsharp#18112 to address the lack of |
@@ -5,6 +5,7 @@ | |||
<BuildScript>$(ProjectDirectory)eng\build$(ShellExtension)</BuildScript> | |||
|
|||
<BuildActions Condition="'$(DotNetBuildSourceOnly)' != 'true'">$(FlagParameterPrefix)restore $(FlagParameterPrefix)all $(FlagParameterPrefix)pack $(FlagParameterPrefix)publish</BuildActions> | |||
<BuildActions Condition="'$(DotNetBuildSourceOnly)' != 'true' and '$(Sign)' == 'true'">$(BuildActions) $(FlagParameterPrefix)sign</BuildActions> |
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.
Is Sign ever true in source build only mode? Does this need the extra conditional?
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.
You're right, I don't think it'll ever be true. Given that assumption, I don't have a problem with removing the extra conditional.
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.
Removed in b8dc8d6
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.
Approved with the question about SB + Signing
Does that mean that we need to switch to desktop msbuild when building fsharp on Windows? |
If we want to produce @mmitche - pinging for your thoughts on Viktor's question |
Closes dotnet/source-build#4064
Enables signing for the following repos which were not passing
-sign
under UB modes: