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 f797796 commit a70647d
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:
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" }
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 a70647d

Please sign in to comment.