Skip to content

Remove ForceDryRunSigning=true on Mac & Linux signed builds #47461

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

Merged
merged 5 commits into from
Mar 25, 2025

Conversation

ellahathaway
Copy link
Member

@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Mar 11, 2025
@ellahathaway ellahathaway force-pushed the remove-forced-dryrun-signing branch from ec169e4 to a798d6c Compare March 13, 2025 17:54
@ellahathaway
Copy link
Member Author

ellahathaway commented Mar 18, 2025

Test pipeline run

@ellahathaway
Copy link
Member Author

Needs #47792 before this can be merged

@ellahathaway ellahathaway marked this pull request as ready for review March 25, 2025 18:06
@Copilot Copilot AI review requested due to automatic review settings March 25, 2025 18:06
@ellahathaway ellahathaway requested review from a team as code owners March 25, 2025 18:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the build configuration by disabling the default signing flag on Mac & Linux builds and refactoring command line arguments into well‐defined properties. Key changes include:

  • Changing the default value for the "sign" parameter from true to false.
  • Refactoring command line construction by introducing new properties (e.g., commandPrefix, cleanArgument, baseProperties, targetProperties, signProperties, buildPassProperties, and ibcProperties).
  • Adjusting build and test command invocations to use these new properties for clarity and maintainability.

## Basic arguments
- name: baseArguments
value: -ci -cleanWhileBuilding -prepareMachine -c ${{ parameters.configuration }} $(officialBuildParameter) /p:VerticalName=$(Agent.JobName) /p:ArtifactsStagingDir=$(artifactsStagingDir)
## Build command line
Copy link
Member Author

Choose a reason for hiding this comment

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

I made the build command args/props available to all OS platforms so that the mac & linux legs could use the signing args + props.

- ${{ else }}:
- name: ibcArguments
value: ''
# Timeout
Copy link
Member Author

@ellahathaway ellahathaway Mar 25, 2025

Choose a reason for hiding this comment

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

I moved the timeout logic here so that the timeout could be conditionally set based on the value of _SignType

@ellahathaway
Copy link
Member Author

@mmitche - can I get help merging this? This failures are unrelated. Thanks in advance.

@mmitche mmitche merged commit 4b3fda2 into dotnet:main Mar 25, 2025
36 of 39 checks passed
@ellahathaway ellahathaway deleted the remove-forced-dryrun-signing branch March 25, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove ForceDryRunSigning=true
2 participants