kata-deploy: install kata-ctl on the node when debug is enabled

kata-ctl provides `kata-ctl exec <sandbox-id>`, the runtime-rs entry point
into a sandbox's agent debug console. It ships in the kata-tools bundle
rather than with the shim binaries, so it is not staged into the kata-deploy
image and never lands on the node - leaving runtime-rs deployments without a
first-class way to reach the debug console.

Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
Assisted-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Fabiano Fidêncio
2026-07-22 21:05:27 +02:00
parent 41a203d679
commit 2bf7a53622
2 changed files with 185 additions and 0 deletions

View File

@@ -119,6 +119,16 @@ jobs:
path: tools/packaging/kata-deploy/local-build/build
merge-multiple: true
# kata-ctl ships in the kata-tools bundle under its own artifact name, so
# stage it into the build dir separately to bake it into the deploy image.
- name: get-kata-ctl for ${{ inputs.arch }}
if: ${{ inputs.artifact-name == '' && matrix.image-kind == 'deploy' }}
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
pattern: kata-tools-artifacts-${{ inputs.arch }}-kata-ctl${{ inputs.tarball-suffix }}
path: tools/packaging/kata-deploy/local-build/build
merge-multiple: true
- name: get-kata-static-tarball for ${{ inputs.arch }}
if: ${{ inputs.artifact-name == '' && matrix.image-kind == 'monitor' }}
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0