Skip to content

Commit e75a972

Browse files
committed
ci: Add Apertis v2023 debootstrap test
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]>
1 parent de3118f commit e75a972

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ jobs:
171171
- { name: "msdos partitioning", case: "msdos" }
172172
- { name: "debian (amd64, debootstrap)", case: "debian", variables: "-t architecture:amd64" }
173173
- { name: "debian (amd64, mmdebstrap)", case: "debian", variables: "-t architecture:amd64 -t tool:mmdebstrap" }
174+
- { name: "debian (bookworm amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:bookworm" }
175+
- { name: "debian (bookworm arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:bookworm" }
176+
- { name: "debian (bookworm armhf)", case: "debian", variables: "-t architecture:armhf -t suite:bookworm" }
177+
- { name: "debian (trixie amd64)", case: "debian", variables: "-t architecture:amd64 -t suite:trixie" }
178+
- { name: "debian (trixie arm64)", case: "debian", variables: "-t architecture:arm64 -t suite:trixie" }
179+
- { name: "debian (trixie armhf)", case: "debian", variables: "-t architecture:armhf -t suite:trixie" }
174180
- { name: "raw", case: "raw" }
175181
exclude:
176182
- backend: nofakemachine
@@ -200,6 +206,10 @@ jobs:
200206
test: { name: "4096 sector size GPT partition table", case: "partitioning-sector-size", variables: "-t sectorsize:4096" }
201207
- backend: kvm
202208
test: { name: "kali", case: "kali" }
209+
- backend: kvm
210+
test: { name: "apertis v2022", case: "apertis", variables: "-t suite:v2022" }
211+
- backend: kvm
212+
test: { name: "apertis v2024", case: "apertis", variables: "-t suite:v2024 -t parent_suite:bookworm" }
203213
name: ${{matrix.test.name}} on ${{matrix.backend}}
204214
runs-on: 'ubuntu-latest'
205215
steps:

tests/apertis/test.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
22
# Test building a non-debian distribution such as apertis to ensure
33
# bootstrapping suites that debootstrap won't internally know about works
4-
{{- $architecture := or .architecture "amd64"}}
5-
architecture: {{$architecture}}
4+
5+
{{- $architecture := or .architecture "amd64" }}
6+
{{- $suite := or .suite "v2022" }}
7+
{{- $parent_suite := or .parent_suite "" }}
8+
9+
architecture: {{ $architecture }}
610

711
actions:
812
- action: debootstrap
9-
suite: v2022
13+
suite: {{ $suite }}
14+
parent-suite: {{ $parent_suite }}
1015
components:
1116
- target
1217
mirror: https://repositories.apertis.org/apertis/

0 commit comments

Comments
 (0)