From fad4a1864c500e61483de66b56202388880bab96 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Tue, 13 Jul 2021 09:53:25 -0700 Subject: [PATCH] prepare for adv virt --- advanced-virt.conf | 58 ++++++++++++++++++++++++++++++ scripts/updates-8-advanced-virt.sh | 19 ++++++++++ variants-advanced-virt.xml | 11 ++++++ 3 files changed, 88 insertions(+) create mode 100644 advanced-virt.conf create mode 100755 scripts/updates-8-advanced-virt.sh create mode 100644 variants-advanced-virt.xml diff --git a/advanced-virt.conf b/advanced-virt.conf new file mode 100644 index 0000000..1d7e932 --- /dev/null +++ b/advanced-virt.conf @@ -0,0 +1,58 @@ +release_name = "Rocky Linux Gluster 9" +release_short = "advanced-virt" +release_version = "8" +release_is_layered = False + +variants_file='variants-advanced-virt.xml' +sigkeys = ['6D745A60'] +create_jigdo = False + +pkgset_source='koji' + +pkgset_koji_tag='virt8-advanced-virt-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 + +createrepo_deltas = False +createrepo_database = True +createrepo_c = True +createrepo_checksum = "sha256" +createrepo_use_xz = True +createrepo_num_threads = 8 +createrepo_num_workers = 8 +createrepo_extra_args = ['--distro=cpe:/o:rocky:rocky:8,Rocky Linux 8', '--revision=8.4'] +hashed_directories = True + +filter_packages = [ + ('^extras$', { + '*': [ + '*', + ], + }), +] + +additional_packages = [ + ('^advanced-virt$', { + '*': [ + '*', + ], + }), +] + +createiso_skip = [ + + ('^extras$', { + '*': True, + 'src': True + }), +] diff --git a/scripts/updates-8-advanced-virt.sh b/scripts/updates-8-advanced-virt.sh new file mode 100755 index 0000000..f6c2f3b --- /dev/null +++ b/scripts/updates-8-advanced-virt.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +source "$(dirname "$0")/common-8" +TARGET_DIR="/mnt/compose/8" +SHORT=advanced-virt +CONFIG=/etc/pungi-prod/advanced-virt.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 --no-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-advanced-virt.xml b/variants-advanced-virt.xml new file mode 100644 index 0000000..4a58b43 --- /dev/null +++ b/variants-advanced-virt.xml @@ -0,0 +1,11 @@ + + + + + + aarch64 + ppc64le + x86_64 + + +