-
Notifications
You must be signed in to change notification settings - Fork 64
Fix arcade signing #328
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
Fix arcade signing #328
Conversation
… days from now** automatically generated for your 1ES PT-based pipelines. Complete this pull request as soon as possible to make sure that your pipeline becomes compliant. Longer delays in completing this PR can trigger additional emails or S360 alerts in the future. 1ES PT Auto-baselining feature helps capture existing violations in your repo and ensures to break your pipeline only for newly introduced SDL violations after baselining. Running SDL tools in break mode is required for your pipeline to be compliant. Go to https://aka.ms/1espt-autobaselining for more details. **Please do not Abandon this PR.** Please reach out to 1ES PT for support. More details: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/support
eb6bfb4 to
8cb1aaa
Compare
9be73d5 to
fa70687
Compare
Add files to ItemsToSign Sign .msi file too Update `ItemsToSign` Update certificate name UseDotNetCertificate Add .msi certificatename
fa70687 to
85f5414
Compare
| <Import Project="targets\GenerateLayout.targets" /> | ||
| <Import Condition="'$(RID)' == 'win-x86'" Project="targets\FileExtensions.targets" /> | ||
| <Import Condition="'$(RID)' == 'win-x86'" Project="targets\GenerateMSIs.targets" /> | ||
| <Import Condition="'$(RID)' == 'win-x86'" Project="targets\Signing.targets" /> |
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.
Signing.targets no longer needed as handled by Arcade now
| <_PublishSingleFileForRid>true</_PublishSingleFileForRid> | ||
| <_PublishSingleFileForRid Condition="'$(RID)' == 'win-x86'">false</_PublishSingleFileForRid> | ||
| <_GenerateLayoutDependsOnTargets>CleanLayoutPath;PublishDotnetCoreUninstallProject</_GenerateLayoutDependsOnTargets> | ||
| <_GenerateLayoutDependsOnTargets Condition="'$(RID)' == 'win-x86'">CleanLayoutPath;PublishDotnetCoreUninstallProject;SignLayout</_GenerateLayoutDependsOnTargets> |
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.
SignLayout is also handled by Arcade now
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.
Why did we lose the condition?
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.
Because it is identical to the previous line, but adds the SignLayout target (which is now unused)
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.
Good point
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.
Copilot reviewed 1 out of 6 changed files in this pull request and generated no comments.
Files not reviewed (5)
- .config/guardian/.gdnbaselines: Language not supported
- eng/Signing.props: Language not supported
- src/redist/redist.csproj: Language not supported
- src/redist/targets/GenerateLayout.targets: Language not supported
- src/redist/targets/Signing.targets: Language not supported
| <_PublishSingleFileForRid>true</_PublishSingleFileForRid> | ||
| <_PublishSingleFileForRid Condition="'$(RID)' == 'win-x86'">false</_PublishSingleFileForRid> | ||
| <_GenerateLayoutDependsOnTargets>CleanLayoutPath;PublishDotnetCoreUninstallProject</_GenerateLayoutDependsOnTargets> | ||
| <_GenerateLayoutDependsOnTargets Condition="'$(RID)' == 'win-x86'">CleanLayoutPath;PublishDotnetCoreUninstallProject;SignLayout</_GenerateLayoutDependsOnTargets> |
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.
Good point
After updating to arcade, builds were not generating correctly.
This adds an automated PR for 1ES compliance, and removes signing targets as these are now generated automatically on Arcade
Trying to keep 8c89301 as its own commit as to preserve git history