Skip to content

Commit

Permalink
images: add fedora-42
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonkarlitskaya committed Feb 10, 2025
1 parent e0506b8 commit 43b1d13
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions image-trigger
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ REFRESH = {
"debian-stable": {},
"fedora-40": {},
"fedora-41": {},
"fedora-42": {},
"fedora-coreos": {},
"fedora-rawhide": {},
"fedora-rawhide-boot": {},
Expand Down
26 changes: 26 additions & 0 deletions images/scripts/fedora-42.bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash
#
# Copyright (C) 2022 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA.

set -eux

URL='https://download.fedoraproject.org/pub/fedora/linux/development/42/Cloud/x86_64/images/'
IMAGE="$(curl -L -s "$URL" | grep -o '"Fedora-Cloud-Base-Generic[^"]*.qcow2"' | tr -d '"' | tail -n1)"
[ -n "$IMAGE" ]

exec $(dirname $0)/lib/cloudimage.bootstrap "$1" "$URL/$IMAGE"
1 change: 1 addition & 0 deletions images/scripts/fedora-42.setup
8 changes: 8 additions & 0 deletions lib/testmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
# These can be triggered manually with bots/tests-trigger
'_manual': [
'fedora-42',
'fedora-rawhide',
'opensuse-tumbleweed',
],
Expand All @@ -85,6 +86,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
'_manual': [
'centos-9-bootc',
'fedora-42',
'rhel-9-6',
'rhel-8-10/ws-container',
]
Expand Down Expand Up @@ -118,6 +120,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
'_manual': [
'centos-10',
'fedora-42',
'fedora-rawhide',
'opensuse-tumbleweed',
],
Expand All @@ -144,6 +147,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
'_manual': [
'centos-10',
'fedora-42',
'fedora-rawhide',
],
},
Expand All @@ -161,6 +165,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
'rhel-10-0',
],
'_manual': [
'fedora-42',
],
},
'osbuild/cockpit-composer': {
Expand All @@ -173,6 +178,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
'_manual': [
'fedora-rawhide',
'fedora-41',
'fedora-42',
],
},
'candlepin/subscription-manager': {
Expand Down Expand Up @@ -203,6 +209,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
'rhel-9-4',
],
'_manual': [
'fedora-42',
],
},
'candlepin/subscription-manager-cockpit': {
Expand All @@ -215,6 +222,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
'fedora-41',
],
'_manual': [
'fedora-42',
],
},
'rhinstaller/anaconda-webui': {
Expand Down

0 comments on commit 43b1d13

Please sign in to comment.