From add1de27a79588f40978427d5415aea2420679b0 Mon Sep 17 00:00:00 2001 From: Sinny Kumari Date: Feb 21 2018 07:11:02 +0000 Subject: Enable Atomic, Cloud and Docker composes on s390x in rawhide With Fedora 27, s390x composes (Server and Everything) are part of primary compose. It will be nice to have atomic, cloud and docker composes available for s390x too. Signed-off-by: Sinny Kumari --- diff --git a/fedora.conf b/fedora.conf index 20f2049..78ef5aa 100644 --- a/fedora.conf +++ b/fedora.conf @@ -289,7 +289,7 @@ image_build = { 'kickstart': 'fedora-docker-base.ks', 'distro': 'Fedora-22', 'disk_size': 5, - 'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'], + 'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64', 's390x'], 'repo': 'Everything', 'install_tree_from': 'Everything', 'subvariant': 'Container_Base', @@ -309,7 +309,7 @@ image_build = { 'kickstart': 'fedora-docker-base-minimal.ks', 'distro': 'Fedora-22', 'disk_size': 5, - 'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'], + 'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64', 's390x'], 'repo': 'Everything', 'install_tree_from': 'Everything', 'subvariant': 'Container_Minimal_Base', @@ -331,11 +331,12 @@ image_build = { 'kickstart': 'fedora-cloud-base.ks', 'distro': 'Fedora-22', 'disk_size': 4, - 'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64'], + 'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64', 's390x'], 'repo': 'Cloud', 'install_tree_from': 'Cloud', 'subvariant': 'Cloud_Base', - 'failable': ['ppc64', 'ppc64le'], + 'failable': ['ppc64', 'ppc64le', 's390x'], + } }, { @@ -359,7 +360,7 @@ image_build = { 'kickstart': 'fedora-atomic.ks', 'distro': 'Fedora-22', 'disk_size': 6, - 'arches': ['aarch64', 'ppc64le', 'x86_64'], + 'arches': ['aarch64', 'ppc64le', 'x86_64', 's390x'], 'install_tree_from': 'Cloud', 'subvariant': 'Atomic', 'failable': ['*'], @@ -738,6 +739,15 @@ ostree = [ "repo": "Everything", "ostree_repo": "/mnt/koji/compose/atomic/rawhide/", 'failable': ['*'], + }, + "s390x": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "treefile": "fedora-atomic-host.json", + "config_url": "https://pagure.io/fedora-atomic.git", + "config_branch": "master", + "repo": "Everything", + "ostree_repo": "/mnt/koji/compose/atomic/rawhide/", + 'failable': ['*'], } }), ("^ostree$", { @@ -805,6 +815,23 @@ ostree_installer = [ 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'master', 'failable': ['*'], + }, + "s390x": { + "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/rawhide/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/", + "ostree_osname=fedora-atomic", + "ostree_install_ref=fedora/rawhide/s390x/atomic-host", + "ostree_update_ref=fedora/rawhide/s390x/atomic-host", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'master', + 'failable': ['*'], } }), ("^WorkstationOstree$", { diff --git a/variants-fedora.xml b/variants-fedora.xml index 31e09f9..a657ccc 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -6,6 +6,7 @@ aarch64 x86_64 ppc64le + s390x @@ -14,6 +15,7 @@ i386 ppc64 ppc64le + s390x x86_64 @@ -23,6 +25,7 @@ armhfp ppc64 ppc64le + s390x x86_64 @@ -144,6 +147,7 @@ i386 ppc64 ppc64le + s390x x86_64