Skip to content

Commit

Permalink
Extend CI to test alpine flavors
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Oct 9, 2023
1 parent a34209d commit 80cd3df
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/image-arm-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
docker:
uses: ./.github/workflows/reusable-docker-arm-build.yaml
with:
flavor: opensuse-leap-arm-rpi
flavor: alpine-arm-rpi
model: rpi4
worker: fast
73 changes: 65 additions & 8 deletions .github/workflows/image-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,29 @@ env:
FORCE_COLOR: 1
jobs:
core:
uses: ./.github/workflows/reusable-build-flavor.yaml
with:
flavor: ubuntu

core-alpine:
uses: ./.github/workflows/reusable-build-flavor.yaml
with:
flavor: alpine

install:
uses: ./.github/workflows/reusable-install-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

install-alpine:
uses: ./.github/workflows/reusable-install-test.yaml
with:
flavor: alpine
needs:
- core-alpine

zfs:
uses: ./.github/workflows/reusable-zfs-test.yaml
with:
Expand All @@ -32,49 +44,77 @@ jobs:
acceptance:
uses: ./.github/workflows/reusable-qemu-acceptance-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

acceptance-alpine:
uses: ./.github/workflows/reusable-qemu-acceptance-test.yaml
with:
flavor: alpine
needs:
- core-alpine

bundles:
uses: ./.github/workflows/reusable-qemu-bundles-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

reset:
uses: ./.github/workflows/reusable-qemu-reset-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

reset-alpine:
uses: ./.github/workflows/reusable-qemu-reset-test.yaml
with:
flavor: alpine
needs:
- core-alpine

netboot:
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

netboot-alpine:
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml
with:
flavor: alpine
needs:
- core-alpine

upgrade:
uses: ./.github/workflows/reusable-upgrade-with-cli-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

upgrade-alpine:
uses: ./.github/workflows/reusable-upgrade-with-cli-test.yaml
with:
flavor: alpine
needs:
- core-alpine

upgrade-latest:
uses: ./.github/workflows/reusable-upgrade-latest-test.yaml
with:
flavor: alpine
flavor: ubuntu
needs:
- core

encryption:
uses: ./.github/workflows/reusable-encryption-test.yaml
with:
flavor: alpine
flavor: ubuntu
label: ${{ matrix.label }}
needs:
- core
Expand All @@ -87,3 +127,20 @@ jobs:
- "remote-static"
- "remote-https-pinned"
- "remote-https-bad-cert"

encryption-alpine:
uses: ./.github/workflows/reusable-encryption-test.yaml
with:
flavor: alpine
label: ${{ matrix.label }}
needs:
- core-alpine
strategy:
fail-fast: true
matrix:
label:
- "local-encryption"
- "remote-auto"
- "remote-static"
- "remote-https-pinned"
- "remote-https-bad-cert"

0 comments on commit 80cd3df

Please sign in to comment.