debian-forge-composer/internal/worker
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
..
api worker: Introduce manifest-id-only job 2021-11-15 16:04:12 +01:00
client.go worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00
json.go cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
server.go worker: Introduce manifest-id-only job 2021-11-15 16:04:12 +01:00
server_test.go worker: Introduce manifest-id-only job 2021-11-15 16:04:12 +01:00