Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Paul Whalen
ffc872ef10 F-38 IoT: enable updates repo
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2023-04-20 11:34:39 -04:00
Paul Whalen
078ca2477e Update F-38 IoT for stable
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2023-04-17 11:51:58 -04:00
Paul Whalen
cda8b4b832 f38: Fix comps branch
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2023-02-17 12:15:20 -05:00
Paul Whalen
812b4565d2 f38: update for branching
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2023-02-17 11:27:23 -05:00
2 changed files with 29 additions and 20 deletions

View file

@ -204,7 +204,7 @@ translate_paths = [
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD'
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f38'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = '38'
# live_images ignores this in favor of live_target
@ -219,9 +219,10 @@ osbuild = {
"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/"],
"repo": ["https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$arch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$arch/os/"],
"ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/",
"ostree_ref": "fedora/rawhide/$arch/iot",
"ostree_ref": "fedora/stable/$arch/iot",
"subvariant": "IoT",
},
{
@ -231,9 +232,10 @@ osbuild = {
"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/"],
"repo": ["https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$arch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$arch/os/"],
"ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/",
"ostree_ref": "fedora/rawhide/$arch/iot",
"ostree_ref": "fedora/stable/$arch/iot",
"subvariant": "IoT",
},
],
@ -246,14 +248,15 @@ ostree = [
"force_new_commit": True,
"treefile": "fedora-iot.json",
"config_url": "https://pagure.io/fedora-iot/ostree.git",
"config_branch": "main",
"config_branch": "f38",
"repo": [
"IoT",
"https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"
"https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$basearch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$basearch/os/"
]
"tag_ref": False,
"ostree_repo": "/mnt/koji/compose/iot/repo/",
"ostree_ref": "fedora/rawhide/${basearch}/iot",
"ostree_ref": "fedora/stable/${basearch}/iot",
"update_summary": True,
},
"x86_64": {
@ -261,14 +264,15 @@ ostree = [
"force_new_commit": True,
"treefile": "fedora-iot.json",
"config_url": "https://pagure.io/fedora-iot/ostree.git",
"config_branch": "main",
"config_branch": "f38",
"repo": [
"IoT",
"https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"
"https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$basearch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$basearch/os/"
]
"tag_ref": False,
"ostree_repo": "/mnt/koji/compose/iot/repo/",
"ostree_ref": "fedora/rawhide/${basearch}/iot",
"ostree_ref": "fedora/stable/${basearch}/iot",
"update_summary": True,
}
})
@ -279,7 +283,8 @@ ostree_installer = [
"aarch64": {
"repo": [
"IoT",
"https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"
"https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$arch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$arch/os/"
],
"release": None,
"rootfs_size": "4",
@ -291,16 +296,17 @@ ostree_installer = [
"ostree_osname=fedora-iot",
"ostree_oskey=fedora-38-primary",
"ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist",
"ostree_install_ref=fedora/rawhide/aarch64/iot",
"ostree_update_ref=fedora/rawhide/aarch64/iot",
"ostree_install_ref=fedora/stable/aarch64/iot",
"ostree_update_ref=fedora/stable/aarch64/iot",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'main',
'template_branch': 'f38',
},
"x86_64": {
"repo": [
"IoT",
"https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"
"https://kojipkgs.fedoraproject.org/compose/38/Fedora-38-20230413.1/compose/Everything/$arch/os/",
"https://kojipkgs.fedoraproject.org/compose/updates/f38-updates/compose/Everything/$arch/os/"
],
"release": None,
"rootfs_size": "4",
@ -312,11 +318,11 @@ ostree_installer = [
"ostree_osname=fedora-iot",
"ostree_oskey=fedora-38-primary",
"ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist",
"ostree_install_ref=fedora/rawhide/x86_64/iot",
"ostree_update_ref=fedora/rawhide/x86_64/iot",
"ostree_install_ref=fedora/stable/x86_64/iot",
"ostree_update_ref=fedora/stable/x86_64/iot",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'main',
'template_branch': 'f38',
}
})
]

View file

@ -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
@ -49,6 +49,9 @@ if [ "$?" != "0" ]; then
fi
ostree summary --update --repo=/mnt/koji/compose/iot/repo/
# Exit now we're post release
exit 1
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')