add gluster9

This commit is contained in:
nazunalika 2021-06-28 11:22:31 -07:00
parent 4e26817fff
commit 5ffac06726
Signed by: label
GPG Key ID: 6735C0E1BD65D048
3 changed files with 77 additions and 0 deletions

48
gluster9.conf Normal file
View File

@ -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
}),
]

18
scripts/updates-8-gluster9.sh Executable file
View File

@ -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

11
variants-gluster9.xml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE variants PUBLIC "-//Rocky, Inc.//DTD Variants info//EN" "variants2012.dtd">
<variants>
<variant id="gluster9" name="gluster9" type="variant">
<arches>
<arch>aarch64</arch>
<arch>ppc64le</arch>
<arch>x86_64</arch>
</arches>
</variant>
</variants>