Skip to content

Conversation

@edvilme
Copy link
Contributor

@edvilme edvilme commented Feb 10, 2025

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

… 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
@edvilme edvilme force-pushed the edvilme-arcade-fix branch 3 times, most recently from eb6bfb4 to 8cb1aaa Compare February 10, 2025 21:11
@edvilme edvilme mentioned this pull request Feb 10, 2025
@edvilme edvilme force-pushed the edvilme-arcade-fix branch 6 times, most recently from 9be73d5 to fa70687 Compare February 11, 2025 00:36
Add files to ItemsToSign

Sign .msi file too

Update `ItemsToSign`

Update certificate name

UseDotNetCertificate

Add .msi certificatename
<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" />
Copy link
Contributor Author

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>
Copy link
Contributor Author

@edvilme edvilme Feb 11, 2025

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

Copy link
Contributor

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?

Copy link
Contributor Author

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)

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point

@edvilme edvilme marked this pull request as ready for review February 11, 2025 17:01
@edvilme edvilme requested review from a team and Copilot February 11, 2025 17:07
Copy link

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.

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

@edvilme edvilme changed the title Fix arcade Fix arcade signing Feb 11, 2025
<_PublishSingleFileForRid>true</_PublishSingleFileForRid>
<_PublishSingleFileForRid Condition="'$(RID)' == 'win-x86'">false</_PublishSingleFileForRid>
<_GenerateLayoutDependsOnTargets>CleanLayoutPath;PublishDotnetCoreUninstallProject</_GenerateLayoutDependsOnTargets>
<_GenerateLayoutDependsOnTargets Condition="'$(RID)' == 'win-x86'">CleanLayoutPath;PublishDotnetCoreUninstallProject;SignLayout</_GenerateLayoutDependsOnTargets>
Copy link
Contributor

Choose a reason for hiding this comment

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

Good point

@edvilme edvilme merged commit 85f5414 into main Feb 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants