From d2f76694a541f54c84a5867e3a9cfeb6313bb4f3 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Sep 11 2018 21:59:16 +0000 Subject: Setup for F29 Beta 1.1 Signed-off-by: Mohan Boddu --- diff --git a/fedora-beta.conf b/fedora-beta.conf new file mode 100644 index 0000000..0954efd --- /dev/null +++ b/fedora-beta.conf @@ -0,0 +1,852 @@ +# PRODUCT INFO +release_name = 'Fedora' +release_short = 'Fedora' +release_version = '29' +release_is_layered = False + +# GENERAL SETTINGS +bootable = True +comps_file = { + 'scm': 'git', + 'repo': 'https://pagure.io/fedora-comps.git', + 'branch': 'master', + 'file': 'comps-f29.xml', + 'command': 'make comps-f29.xml' +} +module_defaults_dir = { + 'scm': 'git', + 'repo': 'https://pagure.io/releng/fedora-module-defaults.git', + 'branch': 'f29', + 'dir': '.' +} + +variants_file='variants-fedora.xml' +sigkeys = ['429476B4'] + +# limit tree architectures +# if undefined, all architectures from variants.xml will be included +tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64le', 's390x', 'x86_64'] + +# limit tree variants +# if undefined, all variants from variants.xml will be included +#tree_variants = ['Server'] + +hashed_directories = True + +# RUNROOT settings +runroot = True +runroot_channel = 'compose' +runroot_tag = 'f29-build' + +## PDC settings +pdc_url = 'https://pdc.fedoraproject.org/rest_api/v1' +pdc_insecure = False +# This option will skip getting an authentication token via Kerberos. +pdc_develop = True + +# PKGSET +pkgset_source = 'koji' # koji, repos + +# PKGSET - REPOS +# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]} +# pkgset_repos = {} + +# PKGSET - KOJI +pkgset_koji_tag = 'f29-compose' +pkgset_koji_inherit = True + +filter_system_release_packages = False + +# GATHER +gather_method = { + '^.*': { # For all variants + 'comps': 'deps', # resolve dependencies for packages from comps file + 'module': 'nodeps', # but not for packages from modules + } +} +gather_backend = 'dnf' +gather_profiler = True +check_deps = False +greedy_method = 'build' + +repoclosure_backend = 'dnf' + +# fomat: [(variant_uid_regex, {arch|*: [repos]})] +# gather_lookaside_repos = [] + +# GATHER - JSON +# format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}} +#gather_source_mapping = '/path/to/mapping.json' + + +# CREATEREPO +createrepo_deltas = False + +# CHECKSUMS +media_checksums = ['sha256'] +media_checksum_one_file = True +media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s_%(label)s-%(arch)s' +#jigdo +create_jigdo = False + +# BUILDINSTALL +buildinstall_method = 'lorax' +buildinstall_skip = [ + ('^Modular$', { + '*': True + }), +] + +# Enables macboot on x86_64 for all variants and disables upgrade image building +# # everywhere. +lorax_options = [ + ('^.*$', { + 'x86_64': { + 'nomacboot': False + }, + '*': { + 'noupgrade': True + } + }) +] + +#extra_packages = [ +# '/mnt/packages/foo*', +#] + + +# fomat: [(variant_uid_regex, {arch|*: [packages]})] +additional_packages = [ + ('^(Workstation|Server|Everything)$', { + '*': [ + 'kernel*', + 'dracut*', + 'autocorr-*', + 'eclipse-nls', + 'eclipse-nls-*', + 'hunspell-*', + 'hyphen-*', + 'kde-l10n-*', + 'libreoffice-langpack-*', + 'man-pages-*', + 'mythes-*', + ], + }), + + ('^Everything$', { + '*': [ + '*', + ], + }), + + ('^Server$', { + '*': [ + + ], + }), + + ('^Workstation$', { + '*': [ + + ], + }), + +] + +multilib = [ + ('^Everything$', { + 'x86_64': ['devel', 'runtime'], + }) +] + +filter_packages = [ + ("^.*$", {"*": ["glibc32", "libgcc32"]}), + ('(Workstation|Server)$', { + '*': [ + 'kernel*debug*', + 'kernel-kdump*', + 'kernel-tools*', + 'syslog-ng*', + 'astronomy-bookmarks', + 'generic*', + 'GConf2-dbus*', + 'bluez-gnome', + 'java-1.8.0-openjdk', + 'community-mysql*', + 'jruby*', + 'gimp-help-*', + ] + }), +] + + +# format: {arch|*: [packages]} +multilib_blacklist = { + '*': ['kernel', 'kernel-PAE*', 'kernel*debug*', + 'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel', + 'php-devel', 'java-*', + 'httpd-devel', 'tomcat-native', 'php*', 'httpd', + 'krb5-server', 'krb5-server-ldap', 'mod_*', 'ghc-*' + ], +} + + +# format: {arch|*: [packages]} +multilib_whitelist = { + '*': ['libgnat', 'wine', 'lmms-vst', 'nspluginwrapper', + 'libflashsupport', 'valgrind', 'perl-libs', 'redhat-lsb', + 'yaboot', 'syslinux-extlinux-nonlinux', 'syslinux-nonlinux', + 'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs', + 'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc', + 'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust', + 'mariadb-connector-odbc', 'compiler-rt' + ], +} + +createiso_skip = [ + ('^Workstation$', { + '*': True, + 'src': True + }), + + ('^Server$', { + 'src': True + }), + + ('^Everything$', { + '*': True, + 'src': True + }), + + ('^Modular$', { + '*': True, + 'src': True + }), + + ] + +# fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})] +#extra_files = [ +# ('^(Server|Workstation)$', { +# '*': [ +# { +# 'scm': 'rpm', +# 'repo': 'fedora-release-%(variant_id_lower)s', +# 'branch': None, +# 'file': [ +# '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-release', +# ], +# 'target': '', +# }, +# ], +# }), +#] + +# Image name respecting Fedora's image naming policy +image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s_%(label)s.iso' +# # Use the same format for volume id +image_volid_formats = [ + '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s' + ] +# No special handling for layered products, use same format as for regular images +image_volid_layered_product_formats = [] +# Used by Pungi to replace 'Cloud' with 'C' (etc.) in ISO volume IDs. +# There is a hard 32-character limit on ISO volume IDs, so we use +# these to try and produce short enough but legible IDs. Note this is +# duplicated in Koji for live images, as livemedia-creator does not +# allow Pungi to tell it what volume ID to use. Note: +# https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy +# '-Workstation-' is a temporary workaround. See +# https://pagure.io/pungi-fedora/pull-request/525 +volume_id_substitutions = { + 'Beta': 'B', + 'Rawhide': 'rawh', + 'Astronomy_KDE': 'AstK', + 'AtomicHost': 'AH', + 'Silverblue': 'SB', + 'Cinnamon': 'Cinn', + 'Cloud': 'C', + 'Design_suite': 'Dsgn', + 'Electronic_Lab': 'Elec', + 'Everything': 'E', + 'Games': 'Game', + 'Images': 'img', + 'Jam_KDE': 'Jam', + 'MATE_Compiz': 'MATE', + # Note https://pagure.io/pungi-fedora/issue/533 + 'Python-Classroom': 'Clss', + 'Python_Classroom': 'Clss', + 'Robotics': 'Robo', + 'Scientific_KDE': 'SciK', + 'Security': 'Sec', + 'Server': 'S', + '-Workstation-': '-WS-', +} + +disc_types = { + 'boot': 'netinst', + 'live': 'Live', +} + +translate_paths = [ + ('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'), +] + +# These will be inherited by live_media, live_images and image_build +global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f29' +global_release = '1.1' +global_version = '29_Beta' +# live_images ignores this in favor of live_target +global_target = 'f29' + +image_build = { + '^Container$': [ + { + 'image-build': { + 'format': [('docker', 'tar.xz')], + 'name': 'Fedora-Container-Base', + 'kickstart': 'fedora-docker-base.ks', + 'distro': 'Fedora-22', + 'disk_size': 5, + 'arches': ['armhfp', 'aarch64', 'ppc64le', 's390x', '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=f29container", "FGC=f29" ]', + 'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "29"}', + }, + }, + { + 'image-build': { + 'format': [('docker', 'tar.xz')], + 'name': 'Fedora-Container-Minimal-Base', + 'kickstart': 'fedora-docker-base-minimal.ks', + 'distro': 'Fedora-22', + 'disk_size': 5, + 'arches': ['armhfp', 'aarch64', 'ppc64le', 's390x', 'x86_64'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Container_Minimal_Base', + 'failable': ['*'], + }, + 'factory-parameters': { + 'dockerversion': "1.10.1", + 'docker_cmd': '[ "/bin/bash" ]', + 'docker_env': '[ "DISTTAG=f29container", "FGC=f29" ]', + 'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "29"}', + }, + } + ], + '^Cloud$': [ + { + 'image-build': { + 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')], + 'name': 'Fedora-Cloud-Base', + 'kickstart': 'fedora-cloud-base.ks', + 'distro': 'Fedora-22', + 'disk_size': 4, + 'arches': ['aarch64', 'ppc64le', 's390x', 'x86_64'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Cloud_Base', + 'failable': ['ppc64le', 's390x'], + } + }, + { + 'image-build': { + 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')], + 'name': 'Fedora-Cloud-Base-Vagrant', + 'kickstart': 'fedora-cloud-base-vagrant.ks', + 'distro': 'Fedora-22', + 'disk_size': 40, + 'arches': ['x86_64'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Cloud_Base', + 'failable': ['*'], + }, + }, + ], + '^AtomicHost$': [ + { + 'image-build': { + 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')], + 'name': 'Fedora-AtomicHost', + 'kickstart': 'fedora-atomic.ks', + 'distro': 'Fedora-22', + 'disk_size': 6, + 'arches': ['aarch64', 'ppc64le', 'x86_64'], + 'install_tree_from': 'Everything', + 'subvariant': 'AtomicHost', + 'failable': ['*'], + } + }, + { + 'image-build': { + 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')], + 'name': 'Fedora-AtomicHost-Vagrant', + 'kickstart': 'fedora-atomic-vagrant.ks', + 'distro': 'Fedora-22', + 'disk_size': 40, + 'arches': ['x86_64'], + 'install_tree_from': 'Everything', + 'subvariant': 'AtomicHost', + 'failable': ['*'], + }, + 'factory-parameters': { + 'vagrant_sync_directory': '/home/vagrant/sync', + } + }, + ], + '^Labs$': [ + { + 'image-build': { + 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')], + 'name': 'Fedora-Python-Classroom-Vagrant', + 'kickstart': 'fedora-python-classroom-vagrant.ks', + 'distro': 'Fedora-22', + 'disk_size': 40, + 'arches': ['x86_64','i386'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Python_Classroom', + 'failable': ['*'], + }, + 'factory-parameters': { + 'ova-option': 'vagrant_sync_directory=/home/vagrant/sync' + } + }, + { + 'image-build': { + 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')], + 'name': 'Fedora-Scientific-Vagrant', + 'kickstart': 'fedora-scientific-vagrant.ks', + 'distro': 'Fedora-22', + 'disk_size': 40, + 'arches': ['x86_64','i386'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Scientific', + 'failable': ['*'], + }, + 'factory-parameters': { + 'ova-option': 'vagrant_sync_directory=/home/vagrant/sync' + } + }, + ], + '^Spins': [ + { + 'image-build': { + 'format': [('raw-xz','raw.xz')], + 'name': 'Fedora-Minimal', + 'kickstart': 'fedora-disk-minimal.ks', + 'distro': 'Fedora-22', + 'disk_size': 5, + 'arches': ['aarch64'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Minimal', + 'failable': ['*'], + } + }, + ], + '^Workstation$': [ + { + 'image-build': { + 'format': [('raw-xz','raw.xz')], + 'name': 'Fedora-Workstation', + 'kickstart': 'fedora-disk-workstation.ks', + 'distro': 'Fedora-22', + 'disk_size': 11, + 'arches': ['aarch64'], + 'repo': 'Workstation', + 'install_tree_from': 'Workstation', + 'subvariant': 'Workstation', + 'failable': ['*'], + } + }, + ], + '^Server$': [ + { + 'image-build': { + 'format': [('raw-xz','raw.xz')], + 'name': 'Fedora-Server', + 'kickstart': 'fedora-disk-server.ks', + 'distro': 'Fedora-22', + 'disk_size': 7, + 'arches': ['aarch64'], + 'repo': 'Server', + 'install_tree_from': 'Server', + 'subvariant': 'Server', + 'failable': ['*'], + } + }, + ], +} + +live_media = { + '^Workstation$': [ + { + 'name': 'Fedora-Workstation-Live', + 'kickstart': 'fedora-live-workstation.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['i386'], + 'repo': 'Everything', + 'subvariant': 'Workstation' + + } + ], + '^Spins': [ + { + 'name': 'Fedora-KDE-Live', + 'kickstart': 'fedora-live-kde.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['i386'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'KDE' + + }, + { + 'name': 'Fedora-Xfce-Live', + 'kickstart': 'fedora-live-xfce.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Xfce' + }, + { + 'name': 'Fedora-SoaS-Live', + 'kickstart': 'fedora-live-soas.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'SoaS' + }, + { + 'name': 'Fedora-Cinnamon-Live', + 'kickstart': 'fedora-live-cinnamon.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Cinnamon' + }, + { + 'name': 'Fedora-LXDE-Live', + 'kickstart': 'fedora-live-lxde.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'LXDE' + }, + { + 'name': 'Fedora-MATE_Compiz-Live', + 'kickstart': 'fedora-live-mate_compiz.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Mate' + }, + { + 'name': 'Fedora-LXQt-Live', + 'kickstart': 'fedora-live-lxqt.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'LXQt' + } + ], + '^Labs$': [ + { + 'name': 'Fedora-Astronomy_KDE-Live', + 'kickstart': 'fedora-live-astronomy_kde.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Astronomy_KDE' + }, + { + 'name': 'Fedora-Design_suite-Live', + 'kickstart': 'fedora-live-design_suite.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Design_suite' + }, + { + 'name': 'Fedora-Scientific_KDE-Live', + 'kickstart': 'fedora-live-scientific_kde.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Scientific_KDE' + }, + { + 'name': 'Fedora-Games-Live', + 'kickstart': 'fedora-live-games.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Games' + }, + { + 'name': 'Fedora-Security-Live', + 'kickstart': 'fedora-live-security.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Security' + }, + { + 'name': 'Fedora-Jam_KDE-Live', + 'kickstart': 'fedora-live-jam_kde.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Jam_KDE' + }, + { + 'name': 'Fedora-Robotics-Live', + 'kickstart': 'fedora-live-robotics.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Robotics' + }, + { + 'name': 'Fedora-Python-Classroom-Live', + 'kickstart': 'fedora-live-python-classroom.ks', + 'arches': ['x86_64', 'i386'], + 'failable': ['*'], + 'repo': 'Everything', + 'install_tree_from': 'Everything', + 'subvariant': 'Python_Classroom' + } + ], +} + +failable_deliverables = [ + ('^Server$', { + '*': ['buildinstall', 'iso'], + }), + ('^.*$', { + # Buildinstall is non blocking + 'src': ['buildinstall'], + # Nothing on i386, ppc64le blocks the compose + 'i386': ['buildinstall', 'iso'], + 'ppc64le': ['buildinstall', 'iso'], + 's390x': ['buildinstall', 'iso'], + }) +] + +live_target = 'f29' +live_images_no_rename = True +# fomat: [(variant_uid_regex, {arch|*: scm_dict})] +live_images = [ + ('^Workstation$', { + 'armhfp': { + 'kickstart': 'fedora-arm-workstation.ks', + 'name': 'Fedora-Workstation-armhfp', + 'type': 'appliance', + 'failable': True, + } + }), + ('^Server$', { + 'armhfp': { + 'kickstart': 'fedora-arm-server.ks', + 'name': 'Fedora-Server-armhfp', + 'type': 'appliance', + 'failable': True, + } + }), + ('^Spins$', { + 'armhfp': [{ + 'kickstart': 'fedora-arm-kde.ks', + 'name': 'Fedora-KDE-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'KDE', + 'failable': True, + }, + { + 'kickstart': 'fedora-arm-lxde.ks', + 'name': 'Fedora-LXDE-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'LXDE', + 'failable': True, + }, + { + 'kickstart': 'fedora-arm-mate.ks', + 'name': 'Fedora-Mate-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'Mate', + 'failable': True, + }, + { + 'kickstart': 'fedora-arm-minimal.ks', + 'name': 'Fedora-Minimal-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'Minimal', + 'failable': False, + }, + { + 'kickstart': 'fedora-arm-soas.ks', + 'name': 'Fedora-SoaS-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'SoaS', + 'failable': True, + }, + { + 'kickstart': 'fedora-arm-xfce.ks', + 'name': 'Fedora-Xfce-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'Xfce', + 'failable': False, + }, + { + 'kickstart': 'fedora-arm-lxqt.ks', + 'name': 'Fedora-LXQt-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'LXQt', + 'failable': True, + },] + }), + ('^Labs$', { + 'armhfp': { + 'kickstart': 'fedora-arm-python-classroom.ks', + 'name': 'Fedora-Python-Classroom-armhfp', + 'repo': 'Everything', + 'type': 'appliance', + 'subvariant': 'Python_Classroom', + 'failable': True, + } + }), +] + +ostree = { + "^AtomicHost$": { + "version": '!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN', + "treefile": "fedora-atomic-host.json", + "config_url": "https://pagure.io/fedora-atomic.git", + "config_branch": "f29", + "repo": "Everything", + "tag_ref": False, + "ostree_repo": "/mnt/koji/compose/atomic/repo/", + "ostree_ref": "fedora/29/${basearch}/atomic-host", + "arches": ["aarch64", "ppc64le", "x86_64"], + "failable": ['*'], + }, + "^Silverblue$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "treefile": "fedora-atomic-workstation.json", + "config_url": "https://pagure.io/workstation-ostree-config.git", + "config_branch": "f29", + "repo": "Workstation", + "tag_ref": False, + "ostree_repo": "/mnt/koji/compose/atomic/repo/", + "ostree_ref": "fedora/29/${basearch}/silverblue", + "arches": ["x86_64"], + "failable": ['*'], + } +} + +ostree_installer = [ + ("^AtomicHost$", { + "x86_64": { + "repo": "Everything", + "release": None, + "rootfs_size": "4", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/repo/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/repo/", + "ostree_osname=fedora-atomic", + "ostree_install_ref=fedora/29/x86_64/atomic-host", + "ostree_update_ref=fedora/29/x86_64/atomic-host", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'f29', + 'failable': ['*'], + }, + "aarch64": { + "repo": "Everything", + "release": None, + "rootfs_size": "4", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/repo/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/repo/", + "ostree_osname=fedora-atomic", + "ostree_install_ref=fedora/29/aarch64/atomic-host", + "ostree_update_ref=fedora/29/aarch64/atomic-host", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'f29', + 'failable': ['*'], + }, + "ppc64le": { + "repo": "Everything", + "release": None, + "rootfs_size": "4", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/repo/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/repo/", + "ostree_osname=fedora-atomic", + "ostree_install_ref=fedora/29/ppc64le/atomic-host", + "ostree_update_ref=fedora/29/ppc64le/atomic-host", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'f29', + 'failable': ['*'], + } + }), + ("^Silverblue$", { + "x86_64": { + "repo": "Everything", + "release": None, + "rootfs_size": "8", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/repo/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/repo/", + "ostree_osname=fedora-workstation", + "ostree_install_ref=fedora/29/x86_64/silverblue", + "ostree_update_ref=fedora/29/x86_64/silverblue", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'f29', + 'failable': ['*'], + } + }) +] + +koji_profile = 'compose_koji' diff --git a/release-candidate.sh b/release-candidate.sh index 133f826..dce11e8 100755 --- a/release-candidate.sh +++ b/release-candidate.sh @@ -4,14 +4,14 @@ LABEL=$1 # Remove the label from arguments. It gets special treatment. Other arguments # to the script are passed to pungi-koji directly. shift -CONFIG="fedora-final.conf" -TARGET_DIR="/mnt/koji/compose/26" +CONFIG="fedora-beta.conf" +TARGET_DIR="/mnt/koji/compose/29" #OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR" NIGHTLY="" SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") -COMPSFILE="comps-f26.xml" +COMPSFILE="comps-f29.xml" TMPDIR=`mktemp -d /tmp/fedoraRC.$DATE.XXXX` # uncomment and edit for resuming a failed compose #COMPOSE_ID="Fedora-23-20150530.n.0" @@ -23,7 +23,7 @@ git clone https://pagure.io/fedora-comps.git && { popd } popd -CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL" +CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL" if [ -z "$COMPOSE_ID" ]; then CMD="$CMD --target-dir=$TARGET_DIR" else