Skip to content

[release/13.2] Fix signing for aspire-managed bundle payload#16211

Merged
joperezr merged 1 commit intorelease/13.2from
backport/pr-16016-to-release/13.2
Apr 15, 2026
Merged

[release/13.2] Fix signing for aspire-managed bundle payload#16211
joperezr merged 1 commit intorelease/13.2from
backport/pr-16016-to-release/13.2

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Backport of #16016 to release/13.2

/cc @joperezr

Customer Impact

Testing

Risk

Regression?

Split the bundle payload pipeline step into three phases so that
aspire-managed goes through Arcade's signing infrastructure before
CreateLayout packs it into the bundle archive:

1. dotnet publish - produces the self-contained single-file binary
2. build.cmd/sh -restore -sign - Arcade signs it via ItemsToSign
3. Bundle.proj /t:_RestoreDcpPackage;_RunCreateLayout - creates the
   tar.gz archive with the already-signed binary

Changes:
- eng/Signing.props: Add FileSignInfo and ItemsToSign entries for
  aspire-managed.exe (Windows) and aspire-managed (Linux/macOS)
- eng/pipelines/templates/BuildAndTest.yml: Split bundle payload step
  into publish, sign, and layout steps per RID
- eng/pipelines/templates/build_sign_native.yml: Same restructuring
  for macOS/Linux native stage (sign step conditional on codeSign)

Fixes #15989

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16211

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16211"

@joperezr joperezr merged commit eb5dabb into release/13.2 Apr 15, 2026
253 of 255 checks passed
@github-actions github-actions Bot added this to the 13.2.x milestone Apr 15, 2026
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.

1 participant