Bump and adapt to new kairos-init (#3214) #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build AMD64 images (Master)' | |
on: | |
push: | |
branches: | |
- master | |
permissions: read-all | |
concurrency: | |
group: ci-amd64-${{ github.head_ref || github.ref }}-${{ github.repository }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: ${{ matrix.base_image }} | |
uses: ./.github/workflows/reusable-build-flavor.yaml | |
secrets: inherit | |
permissions: | |
contents: write | |
security-events: write | |
id-token: write | |
actions: read | |
attestations: read | |
checks: read | |
deployments: read | |
discussions: read | |
issues: read | |
packages: read | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
statuses: read | |
with: | |
base_image: ${{ matrix.base_image }} | |
variant: ${{ matrix.variant }} | |
model: "generic" | |
arch: "amd64" | |
event_type: ${{ github.event_name }} | |
kubernetes_distro: ${{ matrix.kubernetes_distro }} | |
strategy: | |
fail-fast: false | |
matrix: | |
variant: ["core"] | |
base_image: | |
- "ubuntu:24.04" | |
- "ubuntu:22.04" | |
- "ubuntu:20.04" | |
- "alpine:3.19" | |
- "opensuse/leap:15.6" | |
- "debian:12" | |
include: | |
- base_image: "ubuntu:24.04" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "ubuntu:22.04" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "ubuntu:20.04" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "alpine:3.19" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "opensuse/leap:15.6" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "debian:12" | |
kubernetes_distro: "k3s" | |
variant: "standard" | |
- base_image: "ubuntu:24.04" | |
kubernetes_distro: "k0s" | |
variant: "standard" | |
- base_image: "opensuse/leap:15.6" | |
kubernetes_distro: "k0s" | |
variant: "standard" | |
- base_image: "rockylinux:9" | |
kubernetes_distro: "k0s" | |
variant: "standard" | |
lifecycle-tests: | |
name: ${{ matrix.base_image }} | |
uses: ./.github/workflows/reusable-qemu-test.yaml | |
secrets: inherit | |
with: | |
base_image: ${{ matrix.base_image }} | |
test: ${{ matrix.test }} | |
secureboot: ${{ matrix.secureboot || false}} | |
variant: "core" | |
arch: "amd64" | |
model: "generic" | |
needs: | |
- build | |
strategy: | |
fail-fast: true | |
matrix: | |
secureboot: [false] | |
base_image: | |
- "ubuntu:24.04" | |
- "alpine:3.19" | |
test: | |
- "custom-partitioning" | |
- "acceptance" | |
- "install" | |
- "install-target" | |
- "reset" | |
- "upgrade-with-cli" | |
- "upgrade-latest" | |
include: | |
- test: "install" | |
secureboot: true | |
base_image: "ubuntu:24.04" | |
- test: "bundles" | |
base_image: "ubuntu:24.04" | |
- test: "zfs" | |
base_image: "ubuntu:24.04" | |
- test: "install" | |
secureboot: true | |
base_image: "ubuntu:22.04" | |
- test: "install" | |
secureboot: true | |
base_image: "opensuse/leap:15.6" | |
- test: "install" | |
secureboot: true | |
base_image: "debian:12" | |
- test: "acceptance" | |
base_image: "ubuntu:22.04" | |
- test: "acceptance" | |
base_image: "ubuntu:20.04" | |
- test: "acceptance" | |
base_image: "opensuse/leap:15.6" | |
- test: "acceptance" | |
base_image: "debian:12" | |
netboot-tests: | |
name: ${{ matrix.base_image }} | |
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml | |
secrets: inherit | |
with: | |
base_image: ${{ matrix.base_image }} | |
variant: "core" | |
model: "generic" | |
arch: "amd64" | |
needs: | |
- build | |
strategy: | |
matrix: | |
base_image: | |
- "ubuntu:24.04" | |
- "alpine:3.19" | |
encryption-tests: | |
name: ${{ matrix.base_image }} | |
uses: ./.github/workflows/reusable-encryption-test.yaml | |
secrets: inherit | |
with: | |
base_image: ${{ matrix.base_image }} | |
label: ${{ matrix.label }} | |
variant: "core" | |
model: "generic" | |
arch: "amd64" | |
needs: | |
- build | |
strategy: | |
fail-fast: true | |
matrix: | |
base_image: | |
- "ubuntu:24.04" | |
label: | |
- "encryption-local" | |
- "encryption-remote-auto" | |
- "encryption-remote-static" | |
- "encryption-remote-https-pinned" | |
- "encryption-remote-https-bad-cert" | |
standard-tests: | |
name: ${{ matrix.base_image }} | |
uses: ./.github/workflows/reusable-qemu-test.yaml | |
secrets: inherit | |
permissions: | |
contents: write | |
security-events: write | |
id-token: write | |
actions: read | |
attestations: read | |
checks: read | |
deployments: read | |
discussions: read | |
issues: read | |
packages: read | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
statuses: read | |
with: | |
base_image: ${{ matrix.base_image }} | |
test: ${{ matrix.test }} | |
variant: "standard" | |
arch: "amd64" | |
model: "generic" | |
kubernetes_distro: "k3s" | |
needs: | |
- build | |
strategy: | |
fail-fast: false | |
matrix: | |
base_image: | |
- "ubuntu:24.04" | |
test: | |
- "provider-qrcode-install" | |
- "provider-upgrade" | |
- "provider-upgrade-k8s" | |
- "provider-upgrade-latest-k8s-with-kubernetes" |