from variables import *

image_build = {
    "^BaseOS$": [
        {
            "image-build": {
                    "format": [("docker", "tar.xz")],
                    "name": "Circle-Linux-Container-Base",
                    "target": "cc9-containers",
                    "version": "9",
                    "ksurl": "git+https://git.cclinux.org/circle/kickstarts.git?#HEAD",
                    "kickstart": "Circle-Linux-9-container-base.ks",
                    "ksversion": "F28",
                    "distro": "Fedora-28",
                    "disk_size": 10,
                    "repo": ["BaseOS","AppStream",],
                    "install_tree_from": "BaseOS",
                    "arches": ["aarch64", "ppc64le", "x86_64"]
                    },
            "factory-parameters": {
                "generate_icicle": False,
            },
        },
        {
            "image-build": {
                "format": [("qcow2", "qcow2")],
                "name": "Circle-Linux-GenericCloud",
                "target": "cc9-images",
                "version": "9",
                "ksurl": "git+https://git.cclinux.org/circle/kickstarts.git?#HEAD",
                "kickstart": "Circle-Linux-9-kvm.ks",
                "ksversion": "F26",
                "distro": "Fedora-20",
                "disk-size": "10",
                "repo": ["BaseOS","AppStream",],
                "install_tree_from": "BaseOS",
                "arches": ["aarch64", "ppc64le", "x86_64"],
                "scratch": IMAGE_BUILD_SCRATCH
            },
            "factory-parameters": {
                "generate_icicle": False,
            },
        },
        {
            "image-build": {
                "format": [("raw-xz", "raw.xz")],
                "name": "Circle-Linux-ec2",
                "target": "cc9-images",
                "version": "9",
                "ksurl": "git+https://git.cclinux.org/circle/kickstarts.git?#HEAD",
                "kickstart": "Circle-Linux-9-ec2.ks",
                "ksversion": "F26",
                "distro": "Fedora-20",
                "disk-size": "10",
                "repo": ["BaseOS","AppStream",],
                "install_tree_from": "BaseOS",
                "arches": ["x86_64"],
                "scratch": IMAGE_BUILD_SCRATCH
            },
            "factory-parameters": {
                "generate_icicle": False,
            },
        },
        {
            "image-build": {
                "format": [("raw-xz", "raw.xz")],
                "name": "Circle-Linux-ec2-aarch64",
                "target": "cc9-images",
                "version": "9",
                "ksurl": "git+https://git.cclinux.org/circle/kickstarts.git?#HEAD",
                "kickstart": "Circle-Linux-9-ec2-aarch64.ks",
                "ksversion": "F26",
                "distro": "Fedora-20",
                "disk-size": "10",
                "repo": ["BaseOS","AppStream",],
                "install_tree_from": "BaseOS",
                "arches": ["aarch64"],
                "scratch": IMAGE_BUILD_SCRATCH
            },
            "factory-parameters": {
                "generate_icicle": False,
            },
        },
        {
            "image-build": {
                "format": [("vagrant-libvirt", "vagrant-libvirt.box"),('vagrant-virtualbox','vagrant-virtualbox.box')],
                "name": "Circle-Linux-Vagrant",
                "version": "9",
                "target": "cc9-images",
                "ksurl": "git+https://git.cclinux.org/circle/kickstarts.git?#HEAD",
                "kickstart": "Circle-Linux-9-x86_64-Vagrant.ks",
                "ksversion": "F26",
                "distro": "Fedora-20",
                "disk-size": "10",
                "repo": ["BaseOS","AppStream"],
                "install_tree_from": "BaseOS",
                "arches": ["x86_64"],
                "failable": ["x86_64"],
                "scratch": IMAGE_BUILD_SCRATCH
            },
            "factory-parameters": {
                "generate_icicle": False,
            }
        },
    ],
}
