mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 08:18:24 +00:00
ci: Add extratarballs steps
We introduced extratarballs with a make target. The CI currently only uploads tarballs that are listed in the matrix. The NV kernel builds a headers package which needs to be uploaded as well. The get-artifacts has a glob to download all artifacts hence we should be good. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
|||||||
asset:
|
asset:
|
||||||
- agent
|
- agent
|
||||||
- agent-ctl
|
- agent-ctl
|
||||||
|
- busybox
|
||||||
- cloud-hypervisor
|
- cloud-hypervisor
|
||||||
- cloud-hypervisor-glibc
|
- cloud-hypervisor-glibc
|
||||||
- coco-guest-components
|
- coco-guest-components
|
||||||
@@ -136,6 +137,15 @@ jobs:
|
|||||||
retention-days: 15
|
retention-days: 15
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: store-extratarballs-artifact ${{ matrix.asset }}
|
||||||
|
if: ${{ startsWith(matrix.asset, 'kernel-nvidia-gpu') }}
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: kata-artifacts-amd64-${{ matrix.asset }}-headers${{ inputs.tarball-suffix }}
|
||||||
|
path: kata-build/kata-static-${{ matrix.asset }}-headers.tar.xz
|
||||||
|
retention-days: 15
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
build-asset-rootfs:
|
build-asset-rootfs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: build-asset
|
needs: build-asset
|
||||||
|
Reference in New Issue
Block a user