Skip to content

Commit 6e59e73

Browse files
author
Paul Whalen
committed
ci: add Fedora IoT ostree testing with pre-built raw images
Use pre-built daily Fedora IoT raw images from kojipkgs instead of building ostree commits with osbuild-composer. Greenboot is installed from Packit Copr PR builds via rpm-ostree override replace. This also runs fedora-45 ostree on a stable Fedora 44 host via TARGET_DISTRO. CentOS/RHEL ostree tests still use osbuild-composer. Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
1 parent 498265b commit 6e59e73

9 files changed

Lines changed: 512 additions & 0 deletions

File tree

.github/workflows/comment-ci.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,54 @@ jobs:
134134
timeout: 90
135135
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 }}"
136136

137+
fedora-44-ostree:
138+
needs: check-pull-request
139+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
140+
continue-on-error: 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-44-ostree
155+
tmt_context: "arch=x86_64;distro=fedora-44"
156+
tmt_plan_regex: fedora-iot-raw
157+
variables: "ARCH=x86_64;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+
161+
fedora-45-ostree:
162+
needs: check-pull-request
163+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
164+
continue-on-error: true
165+
runs-on: ubuntu-latest
166+
permissions:
167+
statuses: write
168+
169+
steps:
170+
- name: Run the tests
171+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
172+
with:
173+
compose: Fedora-44
174+
api_key: ${{ secrets.TF_API_PUB_KEY }}
175+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
176+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
177+
update_pull_request_status: true
178+
pull_request_status_name: fedora-45-ostree
179+
tmt_context: "arch=x86_64;distro=fedora-45"
180+
tmt_plan_regex: fedora-iot-raw
181+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-45;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
182+
timeout: 90
183+
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 }}"
184+
137185
centos-9-ostree:
138186
needs: check-pull-request
139187
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}

.github/workflows/greenboot-ci.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,54 @@ jobs:
134134
timeout: 90
135135
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 }}"
136136

137+
fedora-44-ostree:
138+
needs: check-pull-request
139+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
140+
continue-on-error: 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-44-ostree
155+
tmt_context: "arch=x86_64;distro=fedora-44"
156+
tmt_plan_regex: fedora-iot-raw
157+
variables: "ARCH=x86_64;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+
161+
fedora-45-ostree:
162+
needs: check-pull-request
163+
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
164+
continue-on-error: true
165+
runs-on: ubuntu-latest
166+
permissions:
167+
statuses: write
168+
169+
steps:
170+
- name: Run the tests
171+
uses: sclorg/testing-farm-as-github-action@230555baceb860aa468d216f1822974836b965d1 # v4.3.1
172+
with:
173+
compose: Fedora-44
174+
api_key: ${{ secrets.TF_API_PUB_KEY }}
175+
git_url: ${{ needs.check-pull-request.outputs.repo_url }}
176+
git_ref: ${{ needs.check-pull-request.outputs.ref }}
177+
update_pull_request_status: true
178+
pull_request_status_name: fedora-45-ostree
179+
tmt_context: "arch=x86_64;distro=fedora-45"
180+
tmt_plan_regex: fedora-iot-raw
181+
variables: "ARCH=x86_64;TARGET_DISTRO=fedora-45;PR_NUMBER=${{ needs.check-pull-request.outputs.pr_number }}"
182+
timeout: 90
183+
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 }}"
184+
137185
centos-9-ostree:
138186
needs: check-pull-request
139187
if: ${{ needs.check-pull-request.outputs.allowed_user == 'true' }}
69.9 KB
Binary file not shown.
12.1 KB
Binary file not shown.
69.9 KB
Binary file not shown.
12.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)