Enable unpack/repack of RPM containers#15405
Enable unpack/repack of RPM containers#15405NikolaMilosavljevic merged 8 commits intodotnet:mainfrom
Conversation
|
Looks like some bad auto-merge causing build issues. Will fix this soon. |
Co-authored-by: Matt Mitchell <[email protected]>
| else if (!_signTool.VerifySignedRpm(log, file.FullPath)) | ||
| { | ||
| _log.LogError($"Deb package {file.FullPath} is not signed properly."); | ||
| } |
There was a problem hiding this comment.
Can you add an else here with a "signed properly" message?
There was a problem hiding this comment.
I'll add it for both DEB and RPM.
Co-authored-by: Matt Mitchell <[email protected]>
| {".psc1", new List<SignInfo>{ new SignInfo("PSCCertificate") } }, | ||
| {".dylib", new List<SignInfo>{ new SignInfo("DylibCertificate") } }, | ||
| {".deb", new List<SignInfo>{ new SignInfo("LinuxSign") } }, | ||
| {".rpm", new List<SignInfo>{ new SignInfo("LinuxSign") } }, |
There was a problem hiding this comment.
Does the RPM extension also need to be added to s_fileExtensionSignInfoWithCollisionId, s_fileExtensionSignInfoPostBuild, and SignableExtensions? It's possible that this may be addressed in #14433
|
Hmm, Windows tests are failing as they're trying to run the RPM-specific test. Helix log indicates that this is executed on Linux and both commands are failing: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-arcade-refs-pull-15405-merge-c0a2b5fcd9fa4337af/Microsoft.DotNet.SignTool.Tests.dll/2/console.5f9debda.log?helixlogtype=result
Linux tests are failing with the same issue - https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-arcade-refs-pull-15405-merge-52fab730ffb84b0d9b/Microsoft.DotNet.SignTool.Tests.dll/2/console.cb9f2381.log?helixlogtype=result |
|
Before I add This PR is failing the RPM test on almalinux and debian 12 and skipped on Windows. |
|
I definitely need to add |
All 3 Helix queues are run regardless of the job target (Windows vs Linux) due to: Lines 61 to 65 in 2696b08 |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
All checks are now passing - I've updated the Helix images to add the missing packages with dotnet/dotnet-buildtools-prereqs-docker#1322 |
Fixes #14437
This work enables unpack and repack of .deb containers. I've tested this with all current .NET RPM packages. As the code requires the use of
cpiotool, it is conditioned to only work on Linux.