-
Notifications
You must be signed in to change notification settings - Fork 10.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 arcade -sign functionality across aspnetcore's build #58445
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
1 similar comment
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
FYI this is currently blocked on a MicroBuild issue: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2270151 |
Awesome! Let me know if there's anything I can do to help |
T-Shirt Size: XS |
@wtgodbe - Is there a way to make progress on this issue without enabling arcade signing in aspnetcore's Mac & Linux legs, which is currently blocked on https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2270151? The lack of |
@ellahathaway any idea why Line 34 in eb68e01
|
@ellahathaway I think the link at "removed here" is wrong, it just links to this issue |
I'm investigating. It's weird because the binlog does not show the
Whoops sorry. Should be this link: Lines 7 to 9 in eb68e01
Oooh maybe it's the PostBuildSign property. I don't see it being set in the binlog, so it's possible that that's resulting in both |
Yes, the VMR build shouldn't do post-build signing. The property shouldn't be set. |
I looked into this a little bit and noticed that aspnetcore has two inner builds (native and managed) which write to the same binlog output path. Filed dotnet/source-build#4740
|
Yes, the item group is empty but for the native build. The managed build didn't even run yet because the native one failed because it doesn't find any artifacts to sign (which I think is expected). Submitted dotnet/dotnet#111 to see how this works today with the |
OK so the issue here is that aspnetcore's build is basically a two-phase build but both phases receive the I considered multiple options (i.e. just allowing an empty sign list) but really this needs to be fixed at the invocation layer so that aspnetcore doesn't attempt to sign and publish twice. Honestly, aspnetcore's two phase build feels quite hacky to me. Other repos solve this differently. |
The use of vcxproj makes it tough. I think that still requires desktop at this point. I would go with passing -sign to only certain phases for now. |
Blocked on dotnet/source-build#4794 |
The blocking issue has now been resolved. Moving this back to |
aspnetcore's signing functionality depends somewhat on shuttling bits from Linux/Mac to Windows. As arcade gets proper support for -sign on Mac and Linux, we should alter aspnetcore to be more 'vertical'. No shuttling around. This has benefits for aspnetcore in the short term, allows arcade to prove out its non-Windows signing functionality, and sets up aspnetcore builds to work well in signed VMR builds.
The text was updated successfully, but these errors were encountered: