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 Aug 10, 2023
1 parent 59c3edb commit 34532f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,12 @@ jobs:
- { name: "uml", backend: "--fakemachine-backend=uml" }
test:
- { name: "recipes", case: "recipes" }
- { 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 34532f0

Please sign in to comment.