Skip to content

Commit 99245f5

Browse files
author
Paul Whalen
committed
ci: add Fedora 46 (rawhide) targets after F45 branching
Fedora 45 has branched into development, rawhide is now F46. Update test scripts to use tagged :45 images for F45 and :rawhide for F46, add F46 CI jobs, and add fedora-rawhide Packit Copr targets. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
1 parent fc40d45 commit 99245f5

6 files changed

Lines changed: 110 additions & 0 deletions

File tree

.github/workflows/comment-ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,29 @@ jobs:
135135
timeout: 90
136136
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
137137

138+
fedora-46-bootc:
139+
needs: check-pull-request
140+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
141+
runs-on: ubuntu-latest
142+
permissions:
143+
statuses: write
144+
145+
steps:
146+
- name: Run the tests
147+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
148+
with:
149+
compose: Fedora-44
150+
api_key: ${{ secrets.TF_API_PUB_KEY }}
151+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
152+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
153+
update_pull_request_status: true
154+
pull_request_status_name: fedora-46-bootc
155+
tmt_context: "arch=x86_64;distro=fedora-46"
156+
tmt_plan_regex: bootc
157+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-46;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
158+
timeout: 90
159+
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
160+
138161
fedora-44-ostree:
139162
needs: check-pull-request
140163
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
@@ -181,6 +204,29 @@ jobs:
181204
timeout: 90
182205
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
183206

207+
fedora-46-ostree:
208+
needs: check-pull-request
209+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
210+
runs-on: ubuntu-latest
211+
permissions:
212+
statuses: write
213+
214+
steps:
215+
- name: Run the tests
216+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
217+
with:
218+
compose: Fedora-44
219+
api_key: ${{ secrets.TF_API_PUB_KEY }}
220+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
221+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
222+
update_pull_request_status: true
223+
pull_request_status_name: fedora-46-ostree
224+
tmt_context: "arch=x86_64;distro=fedora-46"
225+
tmt_plan_regex: fedora-iot-raw
226+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-46;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
227+
timeout: 90
228+
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
229+
184230
centos-9-ostree:
185231
needs: check-pull-request
186232
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}

.github/workflows/greenboot-ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,29 @@ jobs:
136136
timeout: 90
137137
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
138138

139+
fedora-46-bootc:
140+
needs: check-pull-request
141+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
142+
runs-on: ubuntu-latest
143+
permissions:
144+
statuses: write
145+
146+
steps:
147+
- name: Run the tests
148+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
149+
with:
150+
compose: Fedora-44
151+
api_key: ${{ secrets.TF_API_PUB_KEY }}
152+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
153+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
154+
update_pull_request_status: true
155+
pull_request_status_name: fedora-46-bootc
156+
tmt_context: "arch=x86_64;distro=fedora-46"
157+
tmt_plan_regex: bootc
158+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-46;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
159+
timeout: 90
160+
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
161+
139162
fedora-44-ostree:
140163
needs: check-pull-request
141164
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
@@ -182,6 +205,29 @@ jobs:
182205
timeout: 90
183206
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
184207

208+
fedora-46-ostree:
209+
needs: check-pull-request
210+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
211+
runs-on: ubuntu-latest
212+
permissions:
213+
statuses: write
214+
215+
steps:
216+
- name: Run the tests
217+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
218+
with:
219+
compose: Fedora-44
220+
api_key: ${{ secrets.TF_API_PUB_KEY }}
221+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
222+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
223+
update_pull_request_status: true
224+
pull_request_status_name: fedora-46-ostree
225+
tmt_context: "arch=x86_64;distro=fedora-46"
226+
tmt_plan_regex: fedora-iot-raw
227+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-46;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
228+
timeout: 90
229+
secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};STAGE_REDHAT_IO_USERNAME=${{ secrets.STAGE_REDHAT_IO_USERNAME }};STAGE_REDHAT_IO_TOKEN=${{ secrets.STAGE_REDHAT_IO_TOKEN }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }}"
230+
185231
centos-9-ostree:
186232
needs: check-pull-request
187233
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}

.packit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
- fedora-44-x86_64
6060
- fedora-development-aarch64
6161
- fedora-development
62+
- fedora-rawhide-aarch64
63+
- fedora-rawhide
6264
- fedora-eln-aarch64
6365
- fedora-eln
6466

tests/greenboot-bootc-anaconda-iso.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ case "${ID}-${VERSION_ID}" in
5757
BOOT_ARGS="uefi"
5858
;;
5959
"fedora-45")
60+
OS_VARIANT="fedora-unknown"
61+
BASE_IMAGE_URL="quay.io/fedora/fedora-iot:45"
62+
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"
63+
BOOT_ARGS="uefi"
64+
;;
65+
"fedora-46")
6066
OS_VARIANT="fedora-rawhide"
6167
BASE_IMAGE_URL="quay.io/fedora/fedora-iot:rawhide"
6268
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"

tests/greenboot-bootc-qcow2.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ case "${ID}-${VERSION_ID}" in
5757
BOOT_ARGS="uefi"
5858
;;
5959
"fedora-45")
60+
OS_VARIANT="fedora-unknown"
61+
BASE_IMAGE_URL="quay.io/fedora/fedora-iot:45"
62+
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"
63+
BOOT_ARGS="uefi"
64+
;;
65+
"fedora-46")
6066
OS_VARIANT="fedora-rawhide"
6167
BASE_IMAGE_URL="quay.io/fedora/fedora-iot:rawhide"
6268
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"

tests/greenboot-fedora-iot-raw.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ case "${ID}-${VERSION_ID}" in
6262
;;
6363
"fedora-45")
6464
FEDORA_VERSION="45"
65+
OS_VARIANT="fedora-unknown"
66+
;;
67+
"fedora-46")
68+
FEDORA_VERSION="46"
6569
OS_VARIANT="fedora-rawhide"
6670
;;
6771
*)

0 commit comments

Comments
 (0)