Enable Signing in Repos that Override Build Actions#44855
Enable Signing in Repos that Override Build Actions#44855ellahathaway merged 15 commits intodotnet:mainfrom
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/dotnet#1048 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 |
| <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.
Is Sign ever true in source build only mode? Does this need the extra conditional?
There was a problem hiding this comment.
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.
mmitche
left a comment
There was a problem hiding this comment.
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
-signunder UB modes: