debian-forge-composer/internal/cloudapi
Achilleas Koutsou 2004c71f89 cloudapi: use osbuild v2 result struct to extract metadata
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>
2021-11-16 09:49:37 +01:00
..
v1 cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
v2 cloudapi/v2: 5xx error metrics 2021-11-04 08:08:32 +01:00
server.go cloudapi/v2: Configurable aws bucket 2021-10-09 00:55:09 +01:00