debian-forge-composer/internal/weldr
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.go cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
api_test.go weldr: deleting an unknown source should return an error 2021-09-22 11:24:31 +02:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
upload.go Support for temporary credentials 2021-09-02 15:13:42 +02:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00