From 8eecdbb617c59b5f6332494fa57810256c60d0d1 Mon Sep 17 00:00:00 2001 From: Christopher Obbard Date: Thu, 10 Aug 2023 11:04:53 +0100 Subject: [PATCH] ci: Add Debian bookworm/trixie debootstrap test Ensure that we can build current debian stable & testing. Signed-off-by: Christopher Obbard --- .github/workflows/ci.yaml | 6 ++++++ tests/debian/test.yaml | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01a62a9b..ce56959a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -129,6 +129,12 @@ jobs: - { name: "debian (amd64)", case: "debian", variables: "-t architecture:amd64" } - { name: "debian (arm64)", case: "debian", variables: "-t architecture:arm64" } - { name: "debian (armhf)", case: "debian", variables: "-t architecture:armhf" } + - { name: "debian (bookworm amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:bookworm" } + - { name: "debian (bookworm arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:bookworm" } + - { name: "debian (bookworm armhf)", case: "debian", variables: "-t architecture:armhf -t suite:bookworm" } + - { name: "debian (trixie amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:trixie" } + - { name: "debian (trixie arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:trixie" } + - { name: "debian (trixie armhf)", case: "debian", variables: "-t architecture:armhf -t suite:trixie" } include: - backend: { name: "arch", backend: "--fakemachine-backend=qemu" } test: { name: "arch", case: "arch" } diff --git a/tests/debian/test.yaml b/tests/debian/test.yaml index bf4adb2a..d53316a2 100644 --- a/tests/debian/test.yaml +++ b/tests/debian/test.yaml @@ -1,10 +1,12 @@ --- -{{- $architecture := or .architecture "amd64"}} -architecture: {{$architecture}} +{{- $architecture := or .architecture "amd64" }} +{{- $suite := or .suite "bookworm" }} + +architecture: {{ $architecture }} actions: - action: debootstrap - suite: bullseye + suite: {{ $suite }} variant: minbase merged-usr: true