mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-11-21 12:21:26 +00:00
add extras for beta
This commit is contained in:
parent
ed60a997d9
commit
2f4577e554
61
extras-beta.conf
Normal file
61
extras-beta.conf
Normal file
@ -0,0 +1,61 @@
|
||||
from shared/extras import *
|
||||
|
||||
release_name = "Rocky Linux Extras"
|
||||
release_short = "Extras"
|
||||
release_version = "8"
|
||||
release_is_layered = False
|
||||
|
||||
variants_file='variants-extras.xml'
|
||||
sigkeys = ['6D745A60']
|
||||
create_jigdo = False
|
||||
|
||||
pkgset_source='koji'
|
||||
|
||||
pkgset_koji_tag='dist-rocky8-prep-compose'
|
||||
pkgset_koji_inherit = True
|
||||
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"
|
||||
|
||||
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.10']
|
||||
hashed_directories = True
|
||||
|
||||
check_deps = False
|
||||
|
||||
#filter_packages = [
|
||||
# ('^extras$', {
|
||||
# '*': [
|
||||
# 'rocky-gpg-keys',
|
||||
# 'rocky-repos',
|
||||
# ],
|
||||
# }),
|
||||
#]
|
||||
|
||||
#additional_packages = [
|
||||
# ('^extras$', {
|
||||
# '*': [
|
||||
# '*',
|
||||
# ],
|
||||
# }),
|
||||
#]
|
||||
|
||||
createiso_skip = [
|
||||
('^.*$', {
|
||||
'*': True,
|
||||
'src': True
|
||||
}),
|
||||
]
|
30
scripts/updates-8-extras-beta.sh
Executable file
30
scripts/updates-8-extras-beta.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname "$0")/common-8"
|
||||
TARGET_DIR="/mnt/compose/8-LookAhead"
|
||||
SHORT=Extras
|
||||
CONFIG=/etc/pungi-beta/extras-beta.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="--test"
|
||||
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
|
||||
ret_val=$?
|
||||
|
||||
if [[ "$ret_val" != "0" ]]; then
|
||||
if [[ "$MAILNOTIF" == "yes" ]]; then
|
||||
echo "This is a notification that a recent lookahead $SHORT compose failed on $(hostname)" | mutt -e "set from=\"$FROM\"" \
|
||||
-e 'set envelope_from=yes' \
|
||||
-s "Compose $NEWCOMPOSE_ID failed (for Rocky Linux $REVISION)" \
|
||||
releng@rockylinux.org
|
||||
fi
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user