bstinson / centos / pungi-centos

Forked from centos/pungi-centos 5 years ago
Clone

Blame container.conf

Brian Stinson 519b1b
from multilib import * 
Brian Stinson 519b1b
from include-excludes import *
Brian Stinson 519b1b
Brian Stinson 519b1b
release_name = 'CentOS-Container'
Brian Stinson 519b1b
release_short = 'CentOS-Container'
Brian Stinson 519b1b
release_version = '8'
Brian Stinson 519b1b
release_is_layered = False
Brian Stinson 519b1b
Brian Stinson 519b1b
skip_phases = ['buildinstall','productimg','pkgset','gather','extra_files','createrepo']
Brian Stinson 519b1b
Brian Stinson 519b1b
Brian Stinson 519b1b
variants_file = 'variants.xml'
Brian Stinson 519b1b
sigkeys = ['8483C65D']
Brian Stinson 519b1b
hashed_directories = False
Brian Stinson 519b1b
Brian Stinson 519b1b
tree_arches = ['i386', 'x86_64']
Brian Stinson 519b1b
tree_variants = ['Cloud']
Brian Stinson 519b1b
Brian Stinson 519b1b
# PKGSET
Brian Stinson 519b1b
pkgset_source = "koji"
Brian Stinson 519b1b
koji_profile = "mbox"
Brian Stinson 519b1b
Brian Stinson 519b1b
# PKGSET - KOJI
Brian Stinson 519b1b
pkgset_koji_tag = "dist-c8-compose"
Brian Stinson 519b1b
pkgset_koji_inherit = False
Brian Stinson 519b1b
pkgset_koji_module_tag = "modular-updates-candidate"
Brian Stinson 519b1b
Brian Stinson 519b1b
# GATHER
Brian Stinson 519b1b
gather_prepopulate = "centos-packages.json"
Brian Stinson 519b1b
Brian Stinson 519b1b
gather_method = {
Brian Stinson 519b1b
        "^(?!(AppStream|PowerTools)).*$":{
Brian Stinson 519b1b
                "comps": "deps"
Brian Stinson 519b1b
        },
Brian Stinson 519b1b
        "^(AppStream|PowerTools)$": "hybrid",
Brian Stinson 519b1b
}
Brian Stinson 519b1b
Brian Stinson 519b1b
# CREATEREPO
Brian Stinson 519b1b
createrepo_deltas = False
Brian Stinson 519b1b
createrepo_database = True
Brian Stinson 519b1b
createrepo_c = True
Brian Stinson 519b1b
createrepo_checksum = "sha256"
Brian Stinson 519b1b
createrepo_use_xz = True
Brian Stinson 519b1b
createrepo_num_threads = 8
Brian Stinson 519b1b
createrepo_num_workers = 4
Brian Stinson 519b1b
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905']
Brian Stinson 519b1b
Brian Stinson 519b1b
# CHECKSUMS
Brian Stinson 519b1b
media_checksums = ['sha256']
Brian Stinson 519b1b
media_checksum_one_file = True
Brian Stinson 519b1b
create_jigdo = False
Brian Stinson 519b1b
Brian Stinson 519b1b
createiso_skip = [
Brian Stinson 519b1b
        ('^BaseOS$', {
Brian Stinson 519b1b
            '*': True,
Brian Stinson 519b1b
            'src': True
Brian Stinson 519b1b
        }),
Brian Stinson 519b1b
        ('^AppStream$', {
Brian Stinson 519b1b
            '*': True,
Brian Stinson 519b1b
            'src': True
Brian Stinson 519b1b
        }),
Brian Stinson 519b1b
        ('^PowerTools$', {
Brian Stinson 519b1b
            '*': True,
Brian Stinson 519b1b
            'src': True
Brian Stinson 519b1b
        }),
Brian Stinson 519b1b
]
Brian Stinson 519b1b
Brian Stinson 519b1b
image_build = {
Brian Stinson 519b1b
    "^Cloud$": [
Brian Stinson 519b1b
        {
Brian Stinson 519b1b
            "image-build": {
Brian Stinson 519b1b
                "format": [("docker", "tar.gz")],
Brian Stinson 519b1b
                "name": "CentOS-8-Container",
Brian Stinson 519b1b
                "target": "image-centos-8",
Brian Stinson 519b1b
                "version": "8.0.1905",
Brian Stinson 519b1b
                "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",
Brian Stinson 519b1b
                "kickstart": "CentOS-8-Container.ks",
Brian Stinson 519b1b
                "ksversion": "F26",
Brian Stinson 519b1b
                "distro": "Fedora-20",
Brian Stinson 519b1b
                "disk-size": "10",
Brian Stinson 519b1b
                "arches": ["x86_64","ppc64le","aarch64"],
Brian Stinson 519b1b
                "repo": [
Brian Stinson 17e68e
		     'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/os', 
Brian Stinson 519b1b
		     ],
Brian Stinson 17e68e
		"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/os',
Brian Stinson 519b1b
                "failable": ["ppc64le","aarch64"],
Brian Stinson 519b1b
            },
Brian Stinson 519b1b
            "factory-parameters": {
Brian Stinson 519b1b
                "generate_icicle": False,
Brian Stinson 519b1b
                "docker_cmd": '[ "/bin/bash" ]',
Brian Stinson 519b1b
                "docker_label": '{ "name": "centos", "license": "GPLv2", "vendor": "The CentOS Project", "version": "8.0.1905"}',
Brian Stinson 519b1b
            }
Brian Stinson 519b1b
        }
Brian Stinson 519b1b
    ]
Brian Stinson 519b1b
}
Brian Stinson 519b1b
Brian Stinson 519b1b
translate_paths = [
Brian Stinson 519b1b
	("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
Brian Stinson 519b1b
	("/compose", "http://172.22.0.123/compose"),
Brian Stinson 519b1b
]