Skip to content

Commit

Permalink
ci: Add Apertis v2023 debootstrap test
Browse files Browse the repository at this point in the history
Apertis v2023 is based on Debian bookworm. Add a test to ensure the
parent-suite logic works to build downstream distros with a different
suite name to upstream Debian.

Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Aug 10, 2023
1 parent 586c8f1 commit 59c3edb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ jobs:
- backend: { name: "qemu", backend: "--fakemachine-backend=qemu" }
test: { name: "partitioning", case: "partitioning" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
test: { name: "apertis", case: "apertis" }
test: { name: "apertis v2022", case: "apertis", variables: "-t suite:v2022" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
test: { name: "apertis v2024dev3", case: "apertis", variables: "-t suite:v2024dev3 -t parent_suite:bookworm" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
test: { name: "kali", case: "kali" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
Expand Down
11 changes: 8 additions & 3 deletions tests/apertis/test.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
---
# Test building a non-debian distribution such as apertis to ensure
# bootstrapping suites that debootstrap won't internally know about works
{{- $architecture := or .architecture "amd64"}}
architecture: {{$architecture}}

{{- $architecture := or .architecture "amd64" }}
{{- $suite := or .suite "v2022" }}
{{- $parent_suite := or .parent_suite "" }}

architecture: {{ $architecture }}

actions:
- action: debootstrap
suite: v2022
suite: {{ $suite }}
parent-suite: {{ $parent_suite }}
components:
- target
mirror: https://repositories.apertis.org/apertis/
Expand Down

0 comments on commit 59c3edb

Please sign in to comment.