mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
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:
parent
b50f62ce48
commit
f28a62164a
@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for amd64
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
|
stage:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: test
|
||||||
tarball-suffix:
|
tarball-suffix:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
@ -15,8 +19,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
stage: ${{ inputs.stage }}
|
||||||
asset:
|
asset:
|
||||||
- cloud-hypervisor
|
- cloud-hypervisor
|
||||||
|
- cloud-hypervisor-glibc
|
||||||
- firecracker
|
- firecracker
|
||||||
- kernel
|
- kernel
|
||||||
- kernel-sev
|
- kernel-sev
|
||||||
@ -38,6 +44,9 @@ jobs:
|
|||||||
- shim-v2
|
- shim-v2
|
||||||
- tdvf
|
- tdvf
|
||||||
- virtiofsd
|
- virtiofsd
|
||||||
|
exclude:
|
||||||
|
- stage: release
|
||||||
|
asset: cloud-hypervisor-glibc
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Kata Containers quay.io
|
- name: Login to Kata Containers quay.io
|
||||||
if: ${{ inputs.push-to-registry == 'yes' }}
|
if: ${{ inputs.push-to-registry == 'yes' }}
|
||||||
|
2
.github/workflows/release-amd64.yaml
vendored
2
.github/workflows/release-amd64.yaml
vendored
@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-kata-static-tarball-amd64:
|
build-kata-static-tarball-amd64:
|
||||||
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
|
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
|
||||||
|
with:
|
||||||
|
stage: release
|
||||||
|
|
||||||
kata-deploy:
|
kata-deploy:
|
||||||
needs: build-kata-static-tarball-amd64
|
needs: build-kata-static-tarball-amd64
|
||||||
|
2
.github/workflows/release-arm64.yaml
vendored
2
.github/workflows/release-arm64.yaml
vendored
@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-kata-static-tarball-arm64:
|
build-kata-static-tarball-arm64:
|
||||||
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
|
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
|
||||||
|
with:
|
||||||
|
stage: release
|
||||||
|
|
||||||
kata-deploy:
|
kata-deploy:
|
||||||
needs: build-kata-static-tarball-arm64
|
needs: build-kata-static-tarball-arm64
|
||||||
|
2
.github/workflows/release-s390x.yaml
vendored
2
.github/workflows/release-s390x.yaml
vendored
@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-kata-static-tarball-s390x:
|
build-kata-static-tarball-s390x:
|
||||||
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
|
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
|
||||||
|
with:
|
||||||
|
stage: release
|
||||||
|
|
||||||
kata-deploy:
|
kata-deploy:
|
||||||
needs: build-kata-static-tarball-s390x
|
needs: build-kata-static-tarball-s390x
|
||||||
|
@ -45,7 +45,8 @@ serial-targets:
|
|||||||
rootfs-image-tdx-tarball \
|
rootfs-image-tdx-tarball \
|
||||||
rootfs-initrd-sev-tarball \
|
rootfs-initrd-sev-tarball \
|
||||||
rootfs-initrd-tarball \
|
rootfs-initrd-tarball \
|
||||||
cloud-hypervisor-tarball
|
cloud-hypervisor-tarball \
|
||||||
|
cloud-hypervisor-glibc-tarball
|
||||||
|
|
||||||
%-tarball-build: $(MK_DIR)/dockerbuild/install_yq.sh
|
%-tarball-build: $(MK_DIR)/dockerbuild/install_yq.sh
|
||||||
$(call BUILD,$*)
|
$(call BUILD,$*)
|
||||||
@ -53,6 +54,9 @@ serial-targets:
|
|||||||
cloud-hypervisor-tarball:
|
cloud-hypervisor-tarball:
|
||||||
${MAKE} $@-build
|
${MAKE} $@-build
|
||||||
|
|
||||||
|
cloud-hypervisor-glibc-tarball:
|
||||||
|
exit 0
|
||||||
|
|
||||||
firecracker-tarball:
|
firecracker-tarball:
|
||||||
${MAKE} $@-build
|
${MAKE} $@-build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user