debian-forge-composer/internal/distro/fedora30
Lars Karlitski b33ed9e5d2 blueprint: move pipeline generation into its own package
Introduce the `distro` package, which contains an interface for OS
implementations. Its main purpose is to convert a blueprint to a
distro-specific pipeline.

Also introduce the `distro/fedora30` package. It is the first
implementation of the distro interface. Most of its code has been copied
with minimal modifications from the blueprint package.

The `blueprint` package is now back to serving a single purpose:
representing a weldr blueprint. It does not depend on the `pipeline`
package anymore.

Change osbuild-composer and osbuild-pipeline to use the new API,
hard-coding "fedora-30". This looks a bit weird now, but is the same
behavior as before.

All test cases now also take an "distro" key in the "compose" object.
2019-11-07 17:13:20 +01:00
..
ami.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
customizations.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
disk.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
ext4.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
helpers.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
liveiso.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
openstack.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
os.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
os_test.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
qcow2.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
tar.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
vhd.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
vmdk.go blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00