2020-08-21 10:36:02 +00:00
|
|
|
# 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.
|
2020-10-05 11:01:37 +00:00
|
|
|
sigkeys = ['45719a39', '9570FF31', 'D300E724']
|
2020-08-21 10:36:02 +00:00
|
|
|
|
|
|
|
# Architectures supported by Fedora.
|
2020-10-01 12:31:52 +00:00
|
|
|
tree_arches = ['aarch64', 'ppc64le', 's390x', 'x86_64', 'i386']
|
2020-08-21 10:36:02 +00:00
|
|
|
|
|
|
|
# For Fedora-ELN, we do not inherit builds from parent tags.
|
|
|
|
pkgset_koji_inherit = False
|
|
|
|
|
|
|
|
# No jigdo needed in Fedora.
|
|
|
|
create_jigdo = False
|
|
|
|
|
2020-10-26 13:48:48 +00:00
|
|
|
# We only build repositories, installer and images in Fedora so far.
|
2020-08-21 10:36:02 +00:00
|
|
|
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,
|
2020-09-16 10:35:45 +00:00
|
|
|
'rootfs_size': 3,
|
2020-09-22 13:52:49 +00:00
|
|
|
# This is used to use ELN lorax templates instead of Fedora ones.
|
2020-09-30 18:37:33 +00:00
|
|
|
'configuration_file': 'fedora/lorax.conf'
|
2020-08-21 10:36:02 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
]
|
|
|
|
|
|
|
|
# Drop the variants we do not care about from the variant_as_lookaside.
|
|
|
|
variant_as_lookaside = [
|
|
|
|
("AppStream", "BaseOS"),
|
|
|
|
("CRB", "BaseOS"),
|
|
|
|
("CRB", "AppStream"),
|
|
|
|
]
|
|
|
|
|
2020-10-06 07:29:55 +00:00
|
|
|
gather_method = {
|
|
|
|
'^.*': {
|
|
|
|
'json': 'deps',
|
|
|
|
'comps': 'deps',
|
|
|
|
'module': 'nodeps',
|
|
|
|
}
|
|
|
|
}
|
2020-08-31 11:51:22 +00:00
|
|
|
|
|
|
|
# No product_id for Fedora.
|
|
|
|
product_id_allow_missing = False
|
|
|
|
|
2020-09-11 12:05:09 +00:00
|
|
|
# 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',
|
2020-09-16 10:35:45 +00:00
|
|
|
'kickstart': 'fedora-eln-container-base.ks',
|
2020-09-11 12:05:09 +00:00
|
|
|
'distro': 'Fedora-22',
|
2020-09-22 13:52:49 +00:00
|
|
|
'disk_size': 10,
|
2020-09-11 12:05:09 +00:00
|
|
|
'repo': 'Everything',
|
|
|
|
'install_tree_from': 'Everything',
|
|
|
|
'subvariant': 'Container_Base',
|
2020-12-01 06:39:45 +00:00
|
|
|
'arches': ['aarch64', 'ppc64le', 'x86_64'] # Skip s390x until https://pagure.io/releng/issue/9875 is fixed.
|
2020-09-11 12:05:09 +00:00
|
|
|
'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"}',
|
|
|
|
},
|
|
|
|
},
|
2020-09-16 10:35:45 +00:00
|
|
|
],
|
|
|
|
"^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,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2020-09-11 12:05:09 +00:00
|
|
|
}
|
|
|
|
|