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 Jan 10, 2024
1 parent 55ee9ad commit f797796
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ jobs:
test: { name: "apertis", case: "apertis" }
- backend: kvm
test: { name: "kali", case: "kali" }
- backend: kvm
test: { name: "apertis v2022", case: "apertis", variables: "-t suite:v2022" }
- backend: kvm
test: { name: "apertis v2024dev3", case: "apertis", variables: "-t suite:v2024dev3 -t parent_suite:bookworm" }
steps:
- name: Repository checkout
uses: actions/checkout@v4
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 f797796

Please sign in to comment.