Skip to content

Commit

Permalink
images: add fedora-42-boot and fedora-42-anaconda-payload for anacond…
Browse files Browse the repository at this point in the history
…a-webui repository
  • Loading branch information
KKoukiou committed Feb 11, 2025
1 parent 574e360 commit c693729
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions image-trigger
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ REFRESH = {
"fedora-40": {},
"fedora-41": {},
"fedora-42": {},
"fedora-42-boot": {},
"fedora-coreos": {},
"fedora-rawhide": {},
"fedora-rawhide-boot": {},
Expand Down
6 changes: 6 additions & 0 deletions images/scripts/fedora-42-anaconda-payload.bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -eux

OUTPUT="$1"

PYTHONPATH=. python3 images/scripts/create-anaconda-payload --image=fedora-42 --output=$OUTPUT
8 changes: 8 additions & 0 deletions images/scripts/fedora-42-boot.bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
set -eux

OUTPUT="$1"

URL='https://download.fedoraproject.org/pub/fedora/linux/development/42/Server/x86_64/os/images/boot.iso'

curl -L "$URL" -o "$OUTPUT"
9 changes: 9 additions & 0 deletions lib/testmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
'_manual': [
'fedora-eln-boot',
*contexts('fedora-42-boot', ANACONDA_SCENARIOS),
*contexts('fedora-42-boot', ['efi'], ANACONDA_SCENARIOS),
]
},
}
Expand Down Expand Up @@ -259,10 +261,17 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
"fedora-rawhide": [
*contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
# Anaconda builds in fedora-42 and runs tests in fedora-42-boot
"fedora-42": [
*contexts("fedora-42-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
# Anaconda payload updates can affect tests
"fedora-rawhide-anaconda-payload": [
*contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
"fedora-42-anaconda-payload": [
*contexts("fedora-42-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
}


Expand Down

0 comments on commit c693729

Please sign in to comment.