-
Notifications
You must be signed in to change notification settings - Fork 378
Fix sbom generation in publish-build-assets.yml #14582
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 sbom generation in publish-build-assets.yml #14582
Conversation
|
/backport to release/8.0 |
|
/backport to release/6.0 |
|
Started backporting to release/8.0: https://github.com/dotnet/arcade/actions/runs/8285817524 |
|
Started backporting to release/6.0: https://github.com/dotnet/arcade/actions/runs/8285819645 |
|
@riarenas backporting to release/6.0 failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: Use an intermediate directory for releaseConfigs publishing to fix sbom generation
Using index info to reconstruct a base tree...
M eng/common/templates-official/job/publish-build-assets.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/common/templates-official/job/publish-build-assets.yml
CONFLICT (content): Merge conflict in eng/common/templates-official/job/publish-build-assets.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Use an intermediate directory for releaseConfigs publishing to fix sbom generation
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128Please backport manually! |
|
@riarenas an error occurred while backporting to release/6.0, please check the run log for details! Error: git am failed, most likely due to a merge conflict. |
It was a long shot anyways. |
#14560
The pipeline templates expect a directory for their upload tasks instead of a file for the automatic scans to all succeed, so stick this file in its own directory and upload that.
Used my trusty symreader branch to test this fixes the error: https://dev.azure.com/dnceng/internal/_build/results?buildId=2403481&view=results
To double check: