Skip to content

Commit

Permalink
ci: Add Debian bookworm/trixie debootstrap test
Browse files Browse the repository at this point in the history
Ensure that we can build current debian stable & testing.

Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Jan 10, 2024
1 parent ab0143a commit 8eecdbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
8 changes: 5 additions & 3 deletions tests/debian/test.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 8eecdbb

Please sign in to comment.