-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove ForceDryRunSigning=true
on Mac & Linux signed builds
#47461
Conversation
ec169e4
to
a798d6c
Compare
Needs #47792 before this can be merged |
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.
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 |
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.
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 |
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.
I moved the timeout logic here so that the timeout could be conditionally set based on the value of _SignType
@mmitche - can I get help merging this? This failures are unrelated. Thanks in advance. |
Closes dotnet/source-build#4678