b6f7afc5e1
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
132 lines
3.8 KiB
Plaintext
132 lines
3.8 KiB
Plaintext
# 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 = ['45719a39', '9570FF31', 'D300E724']
|
|
|
|
# Architectures supported by Fedora.
|
|
tree_arches = ['aarch64', 'ppc64le', 's390x', 'x86_64', 'i386']
|
|
|
|
# For Fedora-ELN, we do not inherit builds from parent tags.
|
|
pkgset_koji_inherit = False
|
|
|
|
# Cherry-pick packages which fail to build in ELN from Fedora 33 for now.
|
|
pkgset_koji_builds = [
|
|
"strace-5.7.0.6.7ab6-1.fc33",
|
|
]
|
|
|
|
# No jigdo needed in Fedora.
|
|
create_jigdo = False
|
|
|
|
# We only build repositories, installer and images in Fedora so far.
|
|
skip_phases = [
|
|
"createiso",
|
|
"live_media",
|
|
"live_images",
|
|
"ostree",
|
|
"osbs",
|
|
]
|
|
|
|
# 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': 'fedora/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.
|
|
# Generate gather_source.json on-the-fly using the prepopulate scm dict,
|
|
# store it into /srv/odcs and use it from there.
|
|
gather_source_mapping = "/srv/odcs/gather_source.json"
|
|
|
|
gather_method = {
|
|
'^.*': {
|
|
'json': 'deps',
|
|
'comps': 'deps',
|
|
'module': 'nodeps',
|
|
}
|
|
}
|
|
|
|
# No product_id for Fedora.
|
|
product_id_allow_missing = False
|
|
|
|
# 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,
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|