debian-forge-composer/internal
Achilleas Koutsou 007d52f171 osbuild1/result: read v2 output and convert to v1
Log output from osbuild has a very different format when using the
new schema.  The osbuild1.Result object now supports unmarshalling the
new format and adapting it to the old format.

The most important field to set is the Success field to signal whether
the build succeeded.

Secondarily, it also copies over the output from each stage in order to
provide build job log output through the weldr API.
Since the new format contains multiple pipelines with multiple stages
each, the stages are flattened to fit the old format.  A unique name for
each stage is created by prepending the name of the pipeline to its
index in the pipeline and its type.
2021-03-17 18:12:17 +00:00
..
blueprint rhel84/grub2: set saved_entry 2021-02-20 20:01:15 +01:00
boot internal/boot/azure: set storage account 2021-03-06 15:40:48 +00:00
client test: Add tests for trying to override a system source repo 2021-01-29 08:25:23 -08:00
cloud/gcp cloud-cleaner: clean up GCP Storage objects based on metadata 2021-03-15 16:48:40 +00:00
cloudapi distro: move Registry to its own distroregistry package 2021-03-12 08:29:30 +01:00
common weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk osbuild: rename package to osbuild1 2021-03-17 18:12:17 +00:00
distro distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
distroregistry distroregistry/test: add test for GetDistro 2021-03-12 08:29:30 +01:00
jobqueue jobqueue: Replace JobArgs() with Job() 2021-01-19 10:37:51 +01:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi osbuild: rename package to osbuild1 2021-03-17 18:12:17 +00:00
mocks distro: move Registry to its own distroregistry package 2021-03-12 08:29:30 +01:00
osbuild1 osbuild1/result: read v2 output and convert to v1 2021-03-17 18:12:17 +00:00
osbuild2 osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rpmmd distro: introduce PackageSets 2021-03-10 11:52:05 +00:00
store distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
target target/azure: document what it does 2021-03-06 15:40:48 +00:00
test test: add arch to the generate test artifact names 2020-12-01 08:27:44 +01:00
upload internal: Move GCP library to internal/cloud 2021-03-15 16:48:40 +00:00
weldr osbuld-worker: call osbuild with --export flag 2021-03-17 18:12:17 +00:00
worker osbuld-worker: call osbuild with --export flag 2021-03-17 18:12:17 +00:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00