From a70647d6ef64568f8161d1ae36a5a78b357fc32d 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 | 9 ++++++--- tests/debian/test.yaml | 8 +++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d26bc034..46a52e49 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -125,9 +125,12 @@ jobs: test: - { name: "recipes", case: "recipes" } - { name: "templating", case: "templating", variables: " -t escaped:\\$ba\\'d\\$gers\\ snakes" } - - { 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" } exclude: - backend: nofakemachine test: { name: "partitioning", case: "partitioning" } 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