gha: Add cloud-hypervisor-glibc build target

This adds the glibc flavor of CLH to the list of assets as preparation
for #6839. Mariner Kata is only tested with glibc.

Fixes: #7026

Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
Aurélien Bombo 2023-06-02 13:39:43 -07:00
parent b50f62ce48
commit f28a62164a
5 changed files with 20 additions and 1 deletions

View File

@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for amd64
on:
workflow_call:
inputs:
stage:
required: false
type: string
default: test
tarball-suffix:
required: false
type: string
@ -15,8 +19,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
stage: ${{ inputs.stage }}
asset:
- cloud-hypervisor
- cloud-hypervisor-glibc
- firecracker
- kernel
- kernel-sev
@ -38,6 +44,9 @@ jobs:
- shim-v2
- tdvf
- virtiofsd
exclude:
- stage: release
asset: cloud-hypervisor-glibc
steps:
- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}

View File

@ -9,6 +9,8 @@ on:
jobs:
build-kata-static-tarball-amd64:
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
with:
stage: release
kata-deploy:
needs: build-kata-static-tarball-amd64

View File

@ -9,6 +9,8 @@ on:
jobs:
build-kata-static-tarball-arm64:
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
with:
stage: release
kata-deploy:
needs: build-kata-static-tarball-arm64

View File

@ -9,6 +9,8 @@ on:
jobs:
build-kata-static-tarball-s390x:
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
with:
stage: release
kata-deploy:
needs: build-kata-static-tarball-s390x

View File

@ -45,7 +45,8 @@ serial-targets:
rootfs-image-tdx-tarball \
rootfs-initrd-sev-tarball \
rootfs-initrd-tarball \
cloud-hypervisor-tarball
cloud-hypervisor-tarball \
cloud-hypervisor-glibc-tarball
%-tarball-build: $(MK_DIR)/dockerbuild/install_yq.sh
$(call BUILD,$*)
@ -53,6 +54,9 @@ serial-targets:
cloud-hypervisor-tarball:
${MAKE} $@-build
cloud-hypervisor-glibc-tarball:
exit 0
firecracker-tarball:
${MAKE} $@-build