Skip to content

Commit 34532f0

Browse files
committed
ci: Add Debian bookworm/trixie debootstrap test
Ensure that we can build current debian stable & testing. Signed-off-by: Christopher Obbard <[email protected]>
1 parent 59c3edb commit 34532f0

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,12 @@ jobs:
125125
- { name: "uml", backend: "--fakemachine-backend=uml" }
126126
test:
127127
- { name: "recipes", case: "recipes" }
128-
- { name: "debian (amd64)", case: "debian", variables: "-t architecture:amd64" }
129-
- { name: "debian (arm64)", case: "debian", variables: "-t architecture:arm64" }
130-
- { name: "debian (armhf)", case: "debian", variables: "-t architecture:armhf" }
128+
- { name: "debian (bookworm amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:bookworm" }
129+
- { name: "debian (bookworm arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:bookworm" }
130+
- { name: "debian (bookworm armhf)", case: "debian", variables: "-t architecture:armhf -t suite:bookworm" }
131+
- { name: "debian (trixie amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:trixie" }
132+
- { name: "debian (trixie arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:trixie" }
133+
- { name: "debian (trixie armhf)", case: "debian", variables: "-t architecture:armhf -t suite:trixie" }
131134
include:
132135
- backend: { name: "arch", backend: "--fakemachine-backend=qemu" }
133136
test: { name: "arch", case: "arch" }

tests/debian/test.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
{{- $architecture := or .architecture "amd64"}}
3-
architecture: {{$architecture}}
2+
{{- $architecture := or .architecture "amd64" }}
3+
{{- $suite := or .suite "bookworm" }}
4+
5+
architecture: {{ $architecture }}
46

57
actions:
68
- action: debootstrap
7-
suite: bullseye
9+
suite: {{ $suite }}
810
variant: minbase
911
merged-usr: true
1012

0 commit comments

Comments
 (0)