From 5ffac06726282ab31f515c0c373f3c23fe5fd861 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Mon, 28 Jun 2021 11:22:31 -0700 Subject: [PATCH] add gluster9 --- gluster9.conf | 48 +++++++++++++++++++++++++++++++++++ scripts/updates-8-gluster9.sh | 18 +++++++++++++ variants-gluster9.xml | 11 ++++++++ 3 files changed, 77 insertions(+) create mode 100644 gluster9.conf create mode 100755 scripts/updates-8-gluster9.sh create mode 100644 variants-gluster9.xml diff --git a/gluster9.conf b/gluster9.conf new file mode 100644 index 0000000..e55a7e3 --- /dev/null +++ b/gluster9.conf @@ -0,0 +1,48 @@ +release_name = "Rocky Linux Gluster 9" +release_short = "Gluster9" +release_version = "8" +release_is_layered = False + +variants_file='variants-gluster9.xml' +sigkeys = ['6D745A60'] +create_jigdo = False + +pkgset_source='koji' + +pkgset_koji_tag='storage8-gluster-9-el8-compose' +gather_method = { + '^.*': { # For all variants + 'comps': 'nodeps', # resolve dependencies for packages from comps file + 'module': 'nodeps', # but not for packages from modules + } +} + +gather_backend = 'dnf' +greedy_method = 'build' +koji_profile = "koji" + +check_deps = False + +filter_packages = [ + ('^extras$', { + '*': [ + '*', + ], + }), +] + +additional_packages = [ + ('^gluster9$', { + '*': [ + '*', + ], + }), +] + +createiso_skip = [ + + ('^extras$', { + '*': True, + 'src': True + }), +] diff --git a/scripts/updates-8-gluster9.sh b/scripts/updates-8-gluster9.sh new file mode 100755 index 0000000..a9faea3 --- /dev/null +++ b/scripts/updates-8-gluster9.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +TARGET_DIR="/mnt/compose/8" +SHORT=Gluster9 +CONFIG=/etc/pungi-prod/gluster9.conf +# Unused for now +OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-8/COMPOSE_ID) +SKIP="--skip-phase buildinstall --skip-phase createiso --skip-phase extra_isos --skip-phase productimg" +LABEL="--production --skip-label" +CMD="pungi-koji --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $SKIP $LABEL" + +if [ -z "$COMPOSE_ID" ]; then + CMD="$CMD --target-dir=$TARGET_DIR" +else + CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID" +fi + +time $CMD diff --git a/variants-gluster9.xml b/variants-gluster9.xml new file mode 100644 index 0000000..9fbb3f6 --- /dev/null +++ b/variants-gluster9.xml @@ -0,0 +1,11 @@ + + + + + + aarch64 + ppc64le + x86_64 + + +