Skip to content

Commit 0a77c42

Browse files
ci: include support to fedora-44
1 parent 50c7a7c commit 0a77c42

4 files changed

Lines changed: 39 additions & 2 deletions

File tree

.github/workflows/greenboot-ci.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Run the tests
9292
uses: sclorg/testing-farm-as-github-action@v3.1.2
9393
with:
94-
compose: Fedora-Rawhide
94+
compose: Fedora-43
9595
api_key: ${{ secrets.TF_API_KEY }}
9696
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
9797
git_ref: ${{ needs.check-pull-request.outputs.ref }}
@@ -104,6 +104,29 @@ jobs:
104104
timeout: 90
105105
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 }}"
106106

107+
fedora-44-bootc:
108+
needs: check-pull-request
109+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
110+
continue-on-error: true
111+
runs-on: ubuntu-latest
112+
113+
steps:
114+
- name: Run the tests
115+
uses: sclorg/testing-farm-as-github-action@v3.1.2
116+
with:
117+
compose: Fedora-Rawhide
118+
api_key: ${{ secrets.TF_API_KEY }}
119+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
120+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
121+
update_pull_request_status: true
122+
pull_request_status_name: fedora-44-bootc
123+
tmt_context: "arch=x86_64;distro=fedora-44"
124+
tmt_plan_regex: bootc
125+
tf_scope: private
126+
variables: "ARCH=x86_64"
127+
timeout: 90
128+
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 }}"
129+
107130
centos-9-ostree:
108131
needs: check-pull-request
109132
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ integration-test:
137137

138138
@# Verify supported operating system
139139
@. /etc/os-release; \
140-
if [ "$$ID" = "fedora" ] && { [ "$$VERSION_ID" = "rawhide" ] || [ "$$VERSION_ID" = "43" ]; }; then \
140+
if [ "$$ID" = "fedora" ] && { [ "$$VERSION_ID" = "rawhide" ] || [ "$$VERSION_ID" = "43" ] || [ "$$VERSION_ID" = "44" ]; }; then \
141141
echo "Running on Fedora $$VERSION_ID"; \
142142
elif [ "$$ID" = "centos" ] && [ "$$VERSION_ID" = "10" ]; then \
143143
echo "Running on CentOS Stream $$VERSION_ID"; \

tests/greenboot-bootc-anaconda-iso.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ case "${ID}-${VERSION_ID}" in
3939
BOOT_ARGS="uefi"
4040
sudo dnf install -y rpmbuild rust-packaging
4141
;;
42+
"fedora-44")
43+
OS_VARIANT="fedora-rawhide"
44+
BASE_IMAGE_URL="quay.io/fedora/fedora-bootc:44"
45+
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"
46+
BOOT_ARGS="uefi"
47+
sudo dnf install -y rpmbuild rust-packaging
48+
;;
4249
"centos-10")
4350
OS_VARIANT="centos-stream9"
4451
BASE_IMAGE_URL="quay.io/centos-bootc/centos-bootc:stream10"

tests/greenboot-bootc-qcow2.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ case "${ID}-${VERSION_ID}" in
3939
BOOT_ARGS="uefi"
4040
sudo dnf install -y rpmbuild rust-packaging
4141
;;
42+
"fedora-44")
43+
OS_VARIANT="fedora-rawhide"
44+
BASE_IMAGE_URL="quay.io/fedora/fedora-bootc:44"
45+
BIB_URL="quay.io/centos-bootc/bootc-image-builder:latest"
46+
BOOT_ARGS="uefi"
47+
sudo dnf install -y rpmbuild rust-packaging
48+
;;
4249
"centos-10")
4350
OS_VARIANT="centos-stream9"
4451
BASE_IMAGE_URL="quay.io/centos-bootc/centos-bootc:stream10"

0 commit comments

Comments
 (0)