Skip to content

🤖 Use reusable jobs #42

🤖 Use reusable jobs

🤖 Use reusable jobs #42

Workflow file for this run

name: Build and test PRs
on:
pull_request:
paths:
- '**'
concurrency:
group: ci-image-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
jobs:
core:
uses: kairos-io/kairos/.github/workflows/reusable-build-flavor.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
install:
uses: kairos-io/kairos/.github/workflows/reusable-install-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
zfs:
uses: kairos-io/kairos/.github/workflows/reusable-zfs-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
acceptance:
uses: kairos-io/kairos/.github/workflows/reusable-qemu-acceptance-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
bundles:
uses: kairos-io/kairos/.github/workflows/reusable-qemu-bundles-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
reset:
uses: kairos-io/kairos/.github/workflows/reusable-qemu-reset-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
netboot:
uses: kairos-io/kairos/.github/workflows/reusable-qemu-netboot-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
upgrade:
uses: kairos-io/kairos/.github/workflows/reusable-upgrade-with-cli-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
upgrade-latest:
uses: kairos-io/kairos/.github/workflows/reusable-upgrade-latest-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
needs:
- core
encryption:
uses: kairos-io/kairos/.github/workflows/reusable-encryption-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ubuntu
label: ${{ matrix.label }}
needs:
- core
strategy:
fail-fast: true
matrix:
label:
- "local-encryption"
- "remote-auto"
- "remote-static"
- "remote-https-pinned"
- "remote-https-bad-cert"
# TODO: remove from PR if green
standard:
uses: kairos-io/kairos/.github/workflows/reusable-build-provider.yaml@1556-pr-one-flavor-pt2
with:
flavor: ${{ matrix.flavor }}
strategy:
fail-fast: false
matrix:
flavor:
- "opensuse-leap"
- "alpine-opensuse-leap"
provider-various:
uses: kairos-io/kairos/.github/workflows/reusable-provider-tests.yaml@1556-pr-one-flavor-pt2
with:
flavor: ${{ matrix.flavor }}
label: ${{ matrix.label }}
needs:
- standard
strategy:
fail-fast: false
max-parallel: 2
matrix:
label:
- "provider-qrcode-install"
- "provider-upgrade"
- "provider-decentralized-k8s"
- "provider-upgrade-k8s"
flavor:
- "opensuse-leap"
- "alpine-opensuse-leap"
exclude: # looks like only the k8s stuff is tested on both flavors
- label: "provider-qrcode-install"
flavor: "alpine-opensuse-leap"
- label: "provider-upgrade"
flavor: "alpine-opensuse-leap"
provider-upgrade-latest:
uses: kairos-io/kairos/.github/workflows/reusable-provider-upgrade-latest-test.yaml@1556-pr-one-flavor-pt2
with:
flavor: ${{ matrix.flavor }}
needs:
- standard
strategy:
fail-fast: false
max-parallel: 2
matrix:
flavor:
- "opensuse-leap"
- "alpine-opensuse-leap"