Skip to content

Commit a3b37f3

Browse files
committed
ci: add Ubuntu noble and resolute to PR matrix
Expand the PR build matrix to explicit distro+suite pairs: debian/trixie, debian/forky, ubuntu/noble, and ubuntu/resolute. In debos workflow, use distro to determine container image (public.ecr.aws/<distro>/<distro>:<suite>) and install the matching archive keyring package (ubuntu-keyring for Ubuntu, debian-archive-keyring for Debian). Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
1 parent a7cca3e commit a3b37f3

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/build-on-pr.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
suite: [trixie, forky]
28+
include:
29+
- distro: debian
30+
suite: trixie
31+
- distro: debian
32+
suite: forky
33+
- distro: ubuntu
34+
suite: noble
35+
- distro: ubuntu
36+
suite: resolute
2937
uses: ./.github/workflows/debos.yml
3038
with:
3139
suite: ${{ matrix.suite }}
40+
distro: ${{ matrix.distro }}
3241
schema-check:
3342
uses: ./.github/workflows/lava-schema-check.yml

.github/workflows/debos.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
url: ${{ steps.upload_artifacts_s3.outputs.url }}
5959
runs-on: [self-hosted, qcom-u2404, arm64]
6060
container:
61-
image: public.ecr.aws/debian/debian:${{ inputs.suite }}
61+
image: public.ecr.aws/${{ inputs.distro }}/${{ inputs.distro }}:${{ inputs.suite }}
6262
volumes:
6363
- /efs/qli/metaqcom/gh-runners/quic-yocto/downloads:/fileserver-downloads
6464
options: --privileged
@@ -81,7 +81,13 @@ jobs:
8181

8282
# mtools is needed for the flash recipe
8383
- name: Install debos and dependencies of the recipes and local tests
84-
run: apt -y install debian-archive-keyring debos make mmdebstrap mtools python3-pexpect python3-pytest qemu-efi-aarch64 qemu-system-arm
84+
run: |
85+
set -ux
86+
keyring=debian-archive-keyring
87+
if [ "${{ inputs.distro }}" = "ubuntu" ]; then
88+
keyring=ubuntu-keyring
89+
fi
90+
apt -y install "$keyring" debos make mmdebstrap mtools python3-pexpect python3-pytest qemu-efi-aarch64 qemu-system-arm
8591
8692
- name: Setup local APT repo
8793
run: |

0 commit comments

Comments
 (0)