debian-forge-composer/internal
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
..
auth cloudapi: V2 2021-09-14 15:32:21 +02:00
blueprint internal/blueprint: allow filesystem size specified with units 2021-11-02 18:32:47 +01:00
boot ci: rotate secret names 2021-10-21 07:28:46 +02:00
client Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
cloud/gcp build(deps): bump github.com/golang/protobuf from 1.4.3 to 1.5.2 2021-09-03 18:23:54 +02:00
cloudapi cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk blueprints: change minsize from int to uint64 2021-09-29 15:08:12 +02:00
distro distro/rhel90: remove all mentions of obsolete firmware packages 2021-11-10 14:54:31 +01:00
distroregistry distroregistry: disable CentOS Stream 9 2021-11-10 14:54:31 +01:00
jobqueue jobqueue: add DequeueByID 2021-11-14 10:17:03 +01:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi workers: Backwards compatible api.openshift.com spec compliance 2021-09-27 13:10:05 +01:00
mocks worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00
osbuild1 osbuild1: convert stage metadata from v2 2021-06-29 09:33:05 +01:00
osbuild2 osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
ostree ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00
prometheus prometheus: add middleware function 2021-10-29 20:36:18 +01:00
reporegistry reporegistry: Add a DistroHasRepos helper function 2021-07-12 08:58:42 +02:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd rpmmd: convert from v2 result metadata 2021-11-16 09:49:37 +01:00
store distro/rhel85: add support for edge raw images 2021-08-28 09:20:19 +02:00
target Support for temporary credentials 2021-09-02 15:13:42 +02:00
test worker: Remove identity filter 2021-09-04 02:48:52 +02:00
upload worker: Configure AWS credentials in the worker 2021-10-14 02:10:54 +01:00
weldr cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
worker cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00