Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02a4a8f402 | ||
| 706c0f4a3d | |||
|
|
86fe5a11ac | ||
|
|
e966d05e19 | ||
|
|
1df1af174b | ||
|
|
04262754cf | ||
|
|
f9ca24002c | ||
|
|
3a39253ac3 | ||
|
|
fe4902974d | ||
|
|
4a5226f144 |
5 changed files with 20 additions and 110 deletions
104
fedora-iot.conf
104
fedora-iot.conf
|
|
@ -22,7 +22,7 @@ sigkeys = ['105ef944']
|
|||
tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"]
|
||||
# limit tree variants
|
||||
# if undefined, all variants from variants.xml will be included
|
||||
tree_variants = ['IoT', 'bootc', 'bootc-base']
|
||||
tree_variants = ['IoT']
|
||||
hashed_directories = True
|
||||
|
||||
# RUNROOT settings
|
||||
|
|
@ -87,13 +87,6 @@ lorax_options = [
|
|||
})
|
||||
]
|
||||
|
||||
additional_packages = [
|
||||
('^IoT$$', {
|
||||
'*': [
|
||||
'*',
|
||||
],
|
||||
}),
|
||||
]
|
||||
multilib = [
|
||||
('^Everything$', {
|
||||
'x86_64': ['devel', 'runtime'],
|
||||
|
|
@ -209,88 +202,21 @@ global_version = '42'
|
|||
# live_images ignores this in favor of live_target
|
||||
global_target = 'f42'
|
||||
|
||||
osbuild = {
|
||||
"^IoT$": [
|
||||
{
|
||||
"name": "%s-raw" % release_name,
|
||||
"distro": "fedora-42",
|
||||
"image_types": ["iot-raw-image"],
|
||||
"target": "f%s-candidate" % release_version,
|
||||
"arches": ["x86_64", "aarch64"],
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"],
|
||||
"ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/",
|
||||
"ostree_ref": "fedora/rawhide/$arch/iot",
|
||||
"subvariant": "IoT",
|
||||
},
|
||||
{
|
||||
"name": "%s-ostree" % release_name,
|
||||
"distro": "fedora-42",
|
||||
"image_types": ["iot-installer"],
|
||||
"target": "f%s-candidate" % release_version,
|
||||
"arches": ["x86_64", "aarch64"],
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"],
|
||||
"ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/",
|
||||
"ostree_ref": "fedora/rawhide/$arch/iot",
|
||||
"subvariant": "IoT",
|
||||
"manifest_type": "dvd-ostree",
|
||||
},
|
||||
{
|
||||
"name": "%s-provisioner" % release_name,
|
||||
"distro": "fedora-42",
|
||||
"image_types": ["iot-simplified-installer"],
|
||||
"target": "f%s-candidate" % release_version,
|
||||
"arches": ["x86_64", "aarch64"],
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"],
|
||||
"ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/",
|
||||
"ostree_ref": "fedora/rawhide/$arch/iot",
|
||||
"subvariant": "IoT_Simplified_Provisioner",
|
||||
"customizations": {"installation_device": "/dev/vda"},
|
||||
"failable": ["*"],
|
||||
"manifest_type": "dvd-ostree",
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
ostree = {
|
||||
"^IoT$": {
|
||||
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
|
||||
"force_new_commit": True,
|
||||
"unified_core": True,
|
||||
"treefile": "fedora-iot.yaml",
|
||||
"config_url": "https://pagure.io/fedora-iot/ostree.git",
|
||||
"config_branch": "main",
|
||||
"repo": [
|
||||
"IoT",
|
||||
"https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"
|
||||
]
|
||||
"tag_ref": False,
|
||||
"ostree_repo": "/mnt/koji/compose/iot/repo/",
|
||||
"ostree_ref": "fedora/rawhide/${basearch}/iot",
|
||||
"runroot_packages": ["selinux-policy-targeted"],
|
||||
"arches": ["x86_64", "aarch64"],
|
||||
"update_summary": True,
|
||||
}
|
||||
}
|
||||
|
||||
ostree_container = {
|
||||
"^bootc$": {
|
||||
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
|
||||
"config_url": "https://pagure.io/fedora-iot/base-images",
|
||||
"config_branch": "main",
|
||||
"treefile": "fedora-rawhide.yaml",
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"],
|
||||
"arches": ["x86_64", "aarch64", "ppc64le", "s390x"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
"^bootc-base$": {
|
||||
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
|
||||
"config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git",
|
||||
"config_branch": "main",
|
||||
"treefile": "fedora-iot-rawhide.yaml",
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"],
|
||||
"arches": ["x86_64", "aarch64"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
"^IoT$": [
|
||||
{
|
||||
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
|
||||
"config_url": "https://pagure.io/fedora-iot/base-images",
|
||||
"config_branch": "main",
|
||||
"treefile": "fedora-42.yaml",
|
||||
"repo": ["https://kojipkgs.fedoraproject.org/compose/42/Fedora-42-20250409.0/compose/Everything/$basearch/os/",
|
||||
"https://kojipkgs.fedoraproject.org/compose/updates/f42-updates/compose/Everything/$basearch/os/"],
|
||||
"arches": ["x86_64", "aarch64", "ppc64le", "s390x"],
|
||||
"failable": ['*'],
|
||||
"subvariant": "base",
|
||||
"name": "Fedora-base-bootc",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
koji_profile = 'compose_koji'
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ fi
|
|||
# Set up our fedmsg function, using the releng repo definition
|
||||
#FEDMSG_MODNAME="compose"
|
||||
#FEDMSG_CERTPREFIX="releng"
|
||||
. ./releng/scripts/fedmsg-functions.sh
|
||||
. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh
|
||||
|
||||
# Announce that we are starting, even though we don't know the compose_id yet..
|
||||
#fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ arch_to_goarch() {
|
|||
|
||||
# This is the release of Fedora that is currently stable, it will define if we
|
||||
# need to move the fedora:latest tag
|
||||
current_stable="41"
|
||||
current_stable="43"
|
||||
# Define what is rawhide so we know to push that tag
|
||||
current_rawhide="42"
|
||||
current_rawhide="44"
|
||||
# Sanity checking
|
||||
if ! [[ "${1}" =~ ^-?[0-9]+$ ]];
|
||||
then
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX`
|
|||
TOMAIL="iot@lists.fedoraproject.org"
|
||||
FROM="Fedora IoT Report <rawhide@fedoraproject.org>"
|
||||
RSYNCPREFIX="sudo -u ftpsync"
|
||||
RSYNCTARGET="/pub/alt/iot/rawhide/"
|
||||
RSYNCTARGET="/pub/alt/iot/branched/"
|
||||
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
|
||||
|
||||
# assume a releng dir is a git checkout of the releng repo
|
||||
|
|
@ -34,7 +34,7 @@ fi
|
|||
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
|
||||
FEDMSG_MODNAME="compose"
|
||||
FEDMSG_CERTPREFIX="releng"
|
||||
. ./releng/scripts/fedmsg-functions.sh
|
||||
. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh
|
||||
# Announce that we are starting...
|
||||
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
|
||||
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY --label=$LABEL"
|
||||
|
|
@ -69,10 +69,6 @@ for dir in IoT metadata ;
|
|||
$RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ;
|
||||
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID
|
||||
done
|
||||
# Push containers
|
||||
./sync-bootc-base-containers.sh ${RELEASE} ${LABEL}
|
||||
# Tell interested persons that the rsync is done.
|
||||
send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
|
||||
# Tell everyone by fedmsg about the compose
|
||||
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
|
||||
SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
|
||||
|
|
|
|||
|
|
@ -2,18 +2,6 @@
|
|||
<!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants2012.dtd">
|
||||
<variants>
|
||||
<variant id="IoT" name="IoT" type="variant" is_empty="true">
|
||||
<arches>
|
||||
<arch>aarch64</arch>
|
||||
<arch>x86_64</arch>
|
||||
</arches>
|
||||
</variant>
|
||||
<variant id="bootc-base" name="bootc-base" type="variant" is_empty="true">
|
||||
<arches>
|
||||
<arch>aarch64</arch>
|
||||
<arch>x86_64</arch>
|
||||
</arches>
|
||||
</variant>
|
||||
<variant id="bootc" name="bootc" type="variant" is_empty="true">
|
||||
<arches>
|
||||
<arch>aarch64</arch>
|
||||
<arch>x86_64</arch>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue