debian-forge-composer/internal/osbuild2
Ondřej Budai ea8d080c8a osbuild1/result: fix conversion of success field from v2
When a stage is successful in a manifest v2, the success field is omitted from
the result. In other words, the default value of the success field is true
which is against the default value of boolean in Go. This commit implements
a workaround.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-03-19 18:50:31 +01:00
..
anaconda_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
bootiso_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
buildstamp_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
chrony_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
chrony_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
curl_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
discinfo_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
dracut_stage.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
dracut_stage_test.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
files_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fstab_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fstab_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub2_stage.go osbuild2: add SavedEntry to Grub2StageOptions 2021-03-17 18:12:17 +00:00
grub2_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
implantisomd5_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
kernel_cmdline_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
kernel_cmdline_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
kickstart_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
locale_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
locale_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
lorax_script_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
oci_archive_stage.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
oci_archive_stage_test.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
osbuild.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
osbuild_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_commit_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_init_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_preptree_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_pull_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
ostree_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
result.go osbuild1/result: fix conversion of success field from v2 2021-03-19 18:50:31 +01:00
result_test.go osbuild1/result: fix conversion of success field from v2 2021-03-19 18:50:31 +01:00
rhsm_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rhsm_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rpm_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rpm_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
source_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
stage.go osbuild{1,2}: new stages in unmarshal method 2021-03-17 18:12:17 +00:00
stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysconfig_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysconfig_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
tar_stage.go osbuild2: port tar assembler to new stage 2021-03-17 18:12:17 +00:00
timezone_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
timezone_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
tree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
users_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
users_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
xorrisofs_stage.go rhel84,osbuild2: add system ID to ISO 2021-03-17 18:12:17 +00:00
zipl_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
zipl_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00