Repository navigation
Validate signing of source asset - #5328
Conversation
|
Blocked - waiting on a rebootstrap PR that includes #6404 |
|
Unblocked by #6019, ready for review |
There was a problem hiding this comment.
Pull request overview
Enables signing validation coverage for the source-build “dotnet-source-*” artifact by downloading it into the signing validation input set and preventing SignCheck from unpacking it during recursive checks.
Changes:
- Add a SignCheck exclusion to mark
dotnet-source-*.tar.gzasDO-NOT-UNPACK. - Update the Linux signing validation pipeline step to download
dotnet-source-*from the source-build artifacts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/SignCheckExclusionsFile.txt | Adds a DO-NOT-UNPACK rule for the dotnet-source-*.tar.gz artifact so SignCheck validates the artifact without inspecting its contents. |
| eng/pipelines/templates/steps/vmr-validate-signing.yml | Downloads the dotnet-source-* artifact into the SignCheck input directory for Linux signing validation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@ellahathaway this code path isn't exercised in CI. Do you want to submit a validation PR before merging? |
I validated everything locally and am confident in the changes: Signing validation output: Results XML: |
|
@dotnet/source-build - can I get a review on this? Thanks in advance |
|
/backport to release/10.0.1xx |
|
Started backporting to |
|
/backport to release/10.0.3xx |
|
/backport to release/10.0.4xx |
|
Started backporting to |
|
@ellahathaway backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Validate signing of source asset
Using index info to reconstruct a base tree...
M eng/pipelines/templates/steps/vmr-validate-signing.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/steps/vmr-validate-signing.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/steps/vmr-validate-signing.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Validate signing of source asset
Error: The process '/usr/bin/git' failed with exit code 128 |
|
@ellahathaway backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Validate signing of source asset
Using index info to reconstruct a base tree...
M eng/pipelines/templates/steps/vmr-validate-signing.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/steps/vmr-validate-signing.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/steps/vmr-validate-signing.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Validate signing of source asset
Error: The process '/usr/bin/git' failed with exit code 128 |
|
Started backporting to |
|
@ellahathaway backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Validate signing of source asset
Using index info to reconstruct a base tree...
M eng/pipelines/templates/steps/vmr-validate-signing.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/steps/vmr-validate-signing.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/steps/vmr-validate-signing.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Validate signing of source asset
Error: The process '/usr/bin/git' failed with exit code 128 |
(cherry picked from commit 58d582b)
(cherry picked from commit 58d582b)
(cherry picked from commit 58d582b)
(cherry picked from commit 58d582b)
Related to https://github.com/dotnet/release/issues/1416
Validates the detached signature of the
dotnet-source-*.tar.gzartifact