# This files overrides default variables defined in the configs in # the ../shared directory. # In Fedora, we do not build all variants, because they do not make sense # in the Fedora world. tree_variants = ["Everything", "BaseOS", "AppStream", "CRB"] # Fedora signing keys. sigkeys = ['9570FF31', 'D300E724'] # Architectures supported by Fedora. tree_arches = ['aarch64', 'armhfp', 'ppc64le', 's390x', 'x86_64', 'i386'] # For Fedora-ELN, we do not inherit builds from parent tags. pkgset_koji_inherit = False # No jigdo needed in Fedora. create_jigdo = False # We only build repositories and installer in Fedora so far. skip_phases = [ "createiso", "live_media", "live_images", "ostree", "osbs", "extra_isos", #"image_build" ] # Build installer only from BaseOS x86_64. buildinstall_skip = [ ('^BaseOS$', { 'i386': True, 'aarch64': True, 'armhfp': True, 'ppc64le': True, 's390x': True }), ('^Everything$', { 'i386': True, 'aarch64': True, 'armhfp': True, 'ppc64le': True, 's390x': True }), ("^(Modular|AppStream|CRB|ResilientStorage|HighAvailability|SAP|SAPHANA|RT|NFV)$", { '*': True }), ] # Add the rawhide repository for missing packages # TODO: Once we have all the packages built in ELN repos, # we must remove this completely. lorax_extra_sources = [ ('^Everything$', { '*': 'https://kojipkgs.fedoraproject.org/repos/f33-build/latest/$basearch/', }), ('^BaseOS$', { '*': ['https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/Everything/$basearch/os/', 'https://kojipkgs.fedoraproject.org/repos/f33-build/latest/$basearch/'], }) ] # Everything contains everything. additional_packages = [ ('^Everything$', { '*': [ '*', ], }), ] # Enables macboot on x86_64 for all variants and disables upgrade image building # everywhere. # Use 3GB image size for all arches. lorax_options = [ ('^.*$', { 'x86_64': { 'nomacboot': True }, '*': { 'noupgrade': True, 'rootfs_size': 3, # This is used to use ELN lorax templates instead of Fedora ones. 'configuration_file': 'lorax.conf' } }) ] # Drop the variants we do not care about from the variant_as_lookaside. variant_as_lookaside = [ ("AppStream", "BaseOS"), ("CRB", "BaseOS"), ("CRB", "AppStream"), ] # TODO: There is no "fus" in Fedora and no comps yet. For now use "json" # source and "deps" method. gather_source_mapping = "gather_source.json" gather_method = "deps" # No product_id for Fedora. product_id_allow_missing = False variants_file = "variants.xml" # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' global_version = 'ELN' # live_images ignores this in favor of live_target global_target = 'eln' translate_paths = [ # required by image-build ("/srv/odcs", "https://odcs.fedoraproject.org/composes"), ] image_build = { '^Everything$': [ { 'image-build': { 'format': [('docker', 'tar.xz')], 'name': 'Fedora-Container-Base', 'kickstart': 'fedora-eln-container-base.ks', 'distro': 'Fedora-22', 'disk_size': 10, 'arches': ['x86_64'], 'repo': 'Everything', 'install_tree_from': 'Everything', 'subvariant': 'Container_Base', 'failable': ['*'], }, 'factory-parameters': { 'dockerversion': "1.10.1", 'docker_cmd': '[ "/bin/bash" ]', 'docker_env': '[ "DISTTAG=elncontainer", "FGC=eln", "container=oci" ]', 'docker_label': '{ "name": "fedora-eln", "license": "MIT", "vendor": "Fedora Project", "version": "9"}', }, }, ], "^BaseOS$": [ { "image-build": { "format": [("qcow2", "qcow2")], "name": "Fedora-ELN-Guest", "version": "9.0", "kickstart": "fedora-eln-guest.ks", "ksversion": "F26", "distro": "Fedora-20", "disk-size": "10", "arches": ["x86_64"], 'install_tree_from': 'BaseOS', "repo": ["BaseOS","AppStream","Everything"] "failable": ["*"], }, "factory-parameters": { "generate_icicle": False, } } ] }