Skip to content
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

Sign the DAC and build (and sign) the cross-OS DACs in the VMR #46377

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Jan 28, 2025

Depends on dotnet/runtime#111927 and code flow of dotnet/runtime#111416

Depends on #46532 (the code-flow of the changes into dotnet/sdk)

This will also require someone (likely @hoyosjs or @tommcdon) to authorize the dotnet-unified-build internal pipeline to use the AKV service connection before we make a release branch off of dotnet/dotnet.

This change installs/uninstalls the DAC certificates around the build command on Windows and passes the correct arguments to the orchestrator to specify the path to the ESRP tool. It uses the templates defined by the runtime repo, which will be available in the VMR once dotnet/runtime#111416 has flowed all of the way to dotnet/dotnet.

It also adds a win-x86 join job for the cross-OS DAC builds. @ViktorHofer and I decided on using a separate join job as this is the only join point that depends on non-Windows non-ShortStack builds, so it may be the last job to start, and it may take near 20 minutes on its own (as we build all of the cross-OS DAC native code and do signing). By having it in its own job, we avoid slowing down the workloads + aspnetcore + sdk join job (which will only depend on Windows or ShortStack jobs)

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I just noticed this is still in draft and I already reviewed. Sorry if some of my comments are on pieces that you plan to change/remove.

@jkoritzinsky jkoritzinsky marked this pull request as ready for review February 5, 2025 05:57
@jkoritzinsky jkoritzinsky requested review from a team as code owners February 5, 2025 05:57
@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from one comment.

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

The BuildPass2 job isn't building only the assets I want. I'll take a look tomorrow.

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VMR untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants