carlwgeorge / centos / pungi-centos

Forked from centos/pungi-centos 4 years ago
Clone
Brian Stinson 485a47
from multilib import * 
Brian Stinson 485a47
from include-excludes import *
Brian Stinson 485a47
Brian Stinson 485a47
release_name = 'CentOS-Cloud'
Brian Stinson 485a47
release_short = 'CentOS-Cloud'
Brian Stinson 485a47
release_version = '8'
Brian Stinson 485a47
release_is_layered = False
Brian Stinson 485a47
Brian Stinson 485a47
skip_phases = ['buildinstall','productimg','pkgset','gather','extra_files','createrepo']
Brian Stinson 485a47
Brian Stinson 485a47
Brian Stinson 485a47
variants_file = 'variants.xml'
Brian Stinson 485a47
sigkeys = ['8483C65D']
Brian Stinson 485a47
hashed_directories = False
Brian Stinson 485a47
Brian Stinson 485a47
tree_arches = ['i386', 'x86_64']
Brian Stinson 3231f8
tree_variants = ['Cloud']
Brian Stinson 485a47
Brian Stinson 485a47
# PKGSET
Brian Stinson 485a47
pkgset_source = "koji"
Brian Stinson 485a47
koji_profile = "mbox"
Brian Stinson 485a47
Brian Stinson 485a47
# PKGSET - KOJI
Brian Stinson 485a47
pkgset_koji_tag = "dist-c8-compose"
Brian Stinson 485a47
pkgset_koji_inherit = False
Brian Stinson 485a47
pkgset_koji_module_tag = "modular-updates-candidate"
Brian Stinson 485a47
Brian Stinson 485a47
# GATHER
Brian Stinson 485a47
gather_prepopulate = "centos-packages.json"
Brian Stinson 485a47
Brian Stinson 485a47
gather_method = {
Brian Stinson 485a47
        "^(?!(AppStream|PowerTools)).*$":{
Brian Stinson 485a47
                "comps": "deps"
Brian Stinson 485a47
        },
Brian Stinson 485a47
        "^(AppStream|PowerTools)$": "hybrid",
Brian Stinson 485a47
}
Brian Stinson 485a47
Brian Stinson 519b1b
# CREATEREPO createrepo_deltas = False createrepo_database = True
Brian Stinson 485a47
createrepo_c = True
Brian Stinson 485a47
createrepo_checksum = "sha256"
Brian Stinson 485a47
createrepo_use_xz = True
Brian Stinson 485a47
createrepo_num_threads = 8
Brian Stinson 485a47
createrepo_num_workers = 4
Brian Stinson 485a47
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905']
Brian Stinson 485a47
Brian Stinson 485a47
# CHECKSUMS
Brian Stinson 485a47
media_checksums = ['sha256']
Brian Stinson 485a47
media_checksum_one_file = True
Brian Stinson 485a47
create_jigdo = False
Brian Stinson 485a47
Brian Stinson 485a47
createiso_skip = [
Brian Stinson 485a47
        ('^BaseOS$', {
Brian Stinson 485a47
            '*': True,
Brian Stinson 485a47
            'src': True
Brian Stinson 485a47
        }),
Brian Stinson 485a47
        ('^AppStream$', {
Brian Stinson 485a47
            '*': True,
Brian Stinson 485a47
            'src': True
Brian Stinson 485a47
        }),
Brian Stinson 485a47
        ('^PowerTools$', {
Brian Stinson 485a47
            '*': True,
Brian Stinson 485a47
            'src': True
Brian Stinson 485a47
        }),
Brian Stinson 485a47
]
Brian Stinson 485a47
Brian Stinson 990002
image_build = {
Brian Stinson 3231f8
    "^Cloud$": [
Brian Stinson 990002
        { 
Brian Stinson 990002
            "image-build": {
Brian Stinson 990002
                "format": [("qcow2", "qcow2")],
Brian Stinson 0dd19d
                "name": "CentOS-8-GenericCloud",
Brian Stinson 0dd19d
                "target": "image-centos-8",
Brian Stinson 0dd19d
                "version": "8.0.1905",
Brian Stinson 990002
                "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",
Brian Stinson 990002
                "kickstart": "CentOS-8-GenericCloud.ks",
Brian Stinson 0dd19d
                "ksversion": "F26",
Brian Stinson 990002
                "distro": "Fedora-20",
Brian Stinson 990002
                "disk-size": "10",
Brian Stinson 0dd19d
                "arches": ["x86_64","ppc64le","aarch64"],
Brian Stinson 485a47
                "repo": [
Brian Stinson 485a47
		     'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart', 
Brian Stinson 485a47
		     'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'],
Brian Stinson 3231f8
		"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
Brian Stinson 0dd19d
                "failable": ["ppc64le","aarch64"],
Brian Stinson 990002
            },
Brian Stinson 990002
            "factory-parameters": {
Brian Stinson 990002
                "generate_icicle": False,
Brian Stinson 990002
            }
Brian Stinson 990002
        },
Brian Stinson 6bf6a2
        {
Brian Stinson 3a9138
            "image-build": {
Brian Stinson 3a9138
                "format": [("qcow2", "qcow2")],
Brian Stinson 3a9138
                "name": "CentOS-8-ec2",
Brian Stinson 3a9138
                "target": "image-centos-8",
Brian Stinson 3a9138
                "version": "8.0.1905",
Brian Stinson 02a4aa
                "ksurl": "git+https://git.centos.org/forks/davdunc/centos/kickstarts.git?#6f0660635fad0eb2e8d02219c56036d2035b24a3",
Brian Stinson 02a4aa
                "kickstart": "CentOS-8-EC2.ks",
Brian Stinson 3a9138
                "ksversion": "F26",
Brian Stinson 3a9138
                "distro": "Fedora-20",
Brian Stinson 3a9138
                "disk-size": "10",
Brian Stinson 02a4aa
                "arches": ["x86_64"],
Brian Stinson 3a9138
                "repo": [
Brian Stinson 3a9138
		     'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart', 
Brian Stinson 3a9138
		     'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'],
Brian Stinson 3a9138
		"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
Brian Stinson 3a9138
                "failable": ["ppc64le","aarch64"],
Brian Stinson 3a9138
            },
Brian Stinson 3a9138
            "factory-parameters": {
Brian Stinson 3a9138
                "generate_icicle": False,
Brian Stinson 3a9138
            }
Brian Stinson 3a9138
        },
Brian Stinson 6bf6a2
        {
Brian Stinson 6bf6a2
            "image-build": {
Brian Stinson 6bf6a2
                "format": [("vagrant-libvirt", "vagrant-libvirt.box"),('vagrant-virtualbox','vagrant-virtualbox.box')],
Brian Stinson 6bf6a2
                "name": "CentOS-8-Vagrant",
Brian Stinson 6bf6a2
                "target": "image-centos-8",
Brian Stinson 6bf6a2
                "version": "8.0.1905",
Brian Stinson 6bf6a2
                "ksurl": "git+https://git.centos.org/centos/kickstarts.git?#HEAD",
Brian Stinson 6bf6a2
                "kickstart": "CentOS-8-x86_64-Vagrant.ks",
Brian Stinson 6bf6a2
                "ksversion": "F26",
Brian Stinson 6bf6a2
                "distro": "Fedora-20",
Brian Stinson 6bf6a2
                "disk-size": "10",
Brian Stinson 6bf6a2
                "arches": ["x86_64"],
Brian Stinson 6bf6a2
                "repo": [
Brian Stinson 6bf6a2
		     'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
Brian Stinson 6bf6a2
		     'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'],
Brian Stinson 6bf6a2
		"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
Brian Stinson 6bf6a2
                "failable": ["ppc64le","aarch64"],
Brian Stinson 6bf6a2
            },
Brian Stinson 6bf6a2
            "factory-parameters": {
Brian Stinson 6bf6a2
                "generate_icicle": False,
Brian Stinson 6bf6a2
            }
Brian Stinson 6bf6a2
        },
Brian Stinson 990002
    ]
Brian Stinson 990002
}
Brian Stinson 3231f8
Brian Stinson 3231f8
translate_paths = [
Brian Stinson 3231f8
	("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
Brian Stinson 3231f8
	("/compose", "http://172.22.0.123/compose"),
Brian Stinson 3231f8
]