Reading stage metadata using osbuild's v2 result format. For RPM stages we only want the core (OS) RPMs (not the build root RPMs). Skip the build pipeline by name, but this should be handled better since names are arbitrary. Using type switch to convert metadata types instead of relying on the type string of the stage result. The rpmmd helper function isn't used anymore since that requires two conversion passes (osbuild.StageMetadata -> rpmmd.RPM -> cloudapi.PackageMetadata). Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net> |
||
|---|---|---|
| .. | ||
| v1 | ||
| v2 | ||
| server.go | ||