#405 Add fedora-modular-beta.conf for f27
Merged 6 years ago by ausil. Opened 6 years ago by tmlcoch.
tmlcoch/pungi-fedora f27-beta-config  into  f27

@@ -0,0 +1,238 @@ 

+ # PRODUCT INFO

+ release_name = 'Fedora-Modular'

+ release_short = 'Fedora-Modular'

+ release_version = '27'

+ release_is_layered = False

+ 

+ # GENERAL SETTINGS

+ bootable = True

+ comps_file = 'comps-f27.xml' #{

+ #    'scm': 'git',

+ #    'repo': 'https://pagure.io/fedora-comps.git',

+ #    'branch': None, # defaults to cvs/HEAD or git/master

+ #    'file': 'comps-f23.xml',

+ #}

+ 

+ variants_file='variants-modular.xml'

+ sigkeys = ['a3cc4e62']

+ 

+ hashed_directories = True

+ 

+ # RUNROOT settings

+ runroot = True

+ runroot_channel = 'compose'

+ runroot_tag = 'module-bootstrap-f27'

+ 

+ # PDC settings

+ pdc_url = 'https://pdc.fedoraproject.org/rest_api/v1'

+ pdc_insecure = False

+ pdc_develop = True

+ 

+ # PKGSET

+ pkgset_source = 'koji' # koji, repos

+ 

+ # PKGSET - KOJI

+ # pkgset_koji_tag is not used by the modular compose, but Pungi needs this

+ # option to appear in a config, otherwise it fails. Once this is fixed, we can

+ # remove this option completely.

+ pkgset_koji_tag = 'not-used'

+ pkgset_koji_inherit = False

+ 

+ filter_system_release_packages = False

+ 

+ # GATHER

+ gather_source = 'module'

+ gather_method = 'nodeps'

+ gather_profiler = True

+ check_deps = False

+ greedy_method = 'build'

+ 

+ # 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_c = True

+ createrepo_checksum = 'sha256'

+ 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

+ 

+ # OK, we have the anaconda module now.  Let's try buildinstall, but still skip

+ # the phases which depend on it.

+ skip_phases= ["live_media", "ostree"]

+ 

+ # BUILDINSTALL

+ buildinstall_method = 'lorax'

+ 

+ # Enables macboot on x86_64 for all variants and disables upgrade image building

+ # # everywhere.

+ lorax_options = [

+   ('^.*$', {

+      'x86_64': {

+          'nomacboot': False

+      },

+      '*': {

+          'noupgrade': True

+      }

+   })

+ ]

+ 

+ # fomat: [(variant_uid_regex, {arch|*: [packages]})]

+ additional_packages = [

+ 

+ ]

+ 

+ filter_packages = [

+     # TODO - autogenerate this from the modulemd someday.

+ ]

+ 

+ createiso_skip = [

+         ('^base-runtime$', {

+             '*': True,

+             'src': True

+         }),

+         ('^Server$', {

+             '*': False,

+             'src': True

+         }),

+     ]

+ 

+ # 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 = []

+ # Replace 'Cloud' with 'C' in volume id etc.

+ volume_id_substitutions = {

+          'Atomic': 'AH',

+         'Rawhide': 'rawh',

+          'Images': 'img',

+     'MATE_Compiz': 'MATE',

+        'Security': 'Sec',

+  'Electronic_Lab': 'Elec',

+        'Robotics': 'Robo',

+  'Scientific_KDE': 'SciK',

+   'Astronomy_KDE': 'AstK',

+    'Design_suite': 'Dsgn',

+           'Games': 'Game',

+         'Jam_KDE': 'Jam',

+     'Workstation': 'WS',

+      'Everything': 'E',

+          'Server': 'S',

+           'Cloud': 'C',

+           'Alpha': 'A',

+            'Beta': 'B',

+              'TC': 'T',

+         'Modular': 'M',

+        'Bikeshed': 'BS',

+ }

+ 

+ disc_types = {

+     'boot': 'netinst',

+     'live': 'Live',

+ }

+ 

+ global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'

+ global_release = '1.1'

+ global_version = '27_Modular_Beta'

+ # live_images ignores this in favor of live_target

+ global_target = 'module-bootstrap-f27'

+ 

+ image_build = {

+     '^Server$': [

+         {

+             'image-build': {

+                 'format': [('docker', 'tar.xz')],

+                 'name': 'Fedora-Modular-Container-Base',

+                 'kickstart': 'fedora-modular-container-base.ks',

+                 'distro': 'Fedora-27',

+                 'disk_size': 4,

+                 'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],

+                 'install_tree_from': 'Server',

+                 'subvariant': 'Container_Base',

+             },

+             'factory-parameters': {

+                 'dockerversion': '1.10.1',

+                 'docker_cmd': '[ "/bin/bash" ]',

+                 'docker_env': '[ "DISTTAG=f27container_modular", "FGC=f27-modular" ]',

+                 'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27-modular"}',

+             },

+         },

+         {

+             'image-build': {

+                 'format': [('docker', 'tar.xz')],

+                 'name': 'Fedora-Modular-Container-Minimal',

+                 'kickstart': 'fedora-modular-container-base-minimal.ks',

+                 'distro': 'Fedora-27',

+                 'disk_size': 4,

+                 'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],

+                 'install_tree_from': 'Server',

+                 'subvariant': 'Container_Minimal',

+             },

+             'factory-parameters': {

+                 'dockerversion': '1.10.1',

+                 'docker_cmd': '[ "/bin/bash" ]',

+                 'docker_env': '[ "DISTTAG=f27container_modular", "FGC=f27-modular" ]',

+                 'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27-modular"}',

+             },

+         },

+         {

+             'image-build': {

+                 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],

+                 'name': 'Fedora-Modular-Server',

+                 'kickstart': 'fedora-modular-disk-minimal.ks',

+                 'distro': 'Fedora-27',

+                 'disk_size': 8,

+                 'arches': ['aarch64', 'ppc64le', 'x86_64'],

+                 'repo': 'Server',

+                 'install_tree_from': 'Server',

+                 'subvariant': 'Server',

+                 'failable': ['*'],

+              }

+         },

+     ],

+ }

+ 

+ translate_paths = [

+    ('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),

+ ]

+ 

+ failable_deliverables = [

+     ('^.*$', {

+         # Buildinstall can fail on any variant and any arch

+         '*': ['buildinstall', 'iso', 'image-build', 'live-media', 'live', 'ostree', 'ostree-installer'],

+         'src': ['buildinstall'],

+         # Nothing on i386 blocks the compose

+         'i386': ['buildinstall', 'iso', 'live'],

+     })

+ ]

+ 

+ 

+ live_images_no_rename = True

+ # fomat: [(variant_uid_regex, {arch|*: scm_dict})]

+ live_images = [

+   ('^Server$', {

+         'armhfp': {

+                 'kickstart': 'fedora-modular-arm-server.ks',

+                 'name': 'Fedora-Modular-Server-armhfp',

+                 'type': 'appliance',

+                 'failable': True,

+                 }

+     }),

+ ]

+ 

+ 

+ koji_profile = 'compose_koji'

Updated config options:
createrepo_deltas
media_checksum_base_filename
image_name_format
global_release

Related issue:
* https://pagure.io/releng/issue/7074

Signed-off-by: Tomas Mlcoch tmlcoch@redhat.com

This should be 'module-bootstrap-f27'

This should be 'module-bootstrap-f27'

Also, even though this PR is for pungi config, but we might need something like https://pagure.io/pungi-fedora/blob/f27/f/release-candidate.sh for making RC composes of modular, just a heads up.

@tmlcoch Can you merge https://pagure.io/pungi-fedora/pull-request/407 into this? The changes I am making there will be necessary for the Beta as well.

@mohanboddu why the numbering starts from 1.1 and not from 1.0?

rebased onto 4997dcd

6 years ago

Suggestions accommodated, including the @sgallagh change to the pungi config (not the sh file).

@mohanboddu I don't see any shell script for beta on F26 branch, how Beta compose will be run then?

@ausil You pointed out RC ticket - https://pagure.io/releng/issue/7058, but is there a ticket for modular Beta too? I don't see any - https://pagure.io/releng/issues?status=Open&search_pattern=beta

And what about fedora-modular-final.config should I create one?

@tmlcoch we generally make the final config around final change freeze so we do not need to make changes to two config files. QA will file the compose request when they are ready for it.

Pull-Request has been merged by ausil

6 years ago
Metadata