mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
Merge pull request #10171 from fidencio/topic/ci-treat-nydus-snapshotter-as-a-dep
ci: nydus: Treat the snapshotter as a dependency
This commit is contained in:
commit
6c58ae5b95
@ -415,6 +415,11 @@ function cleanup() {
|
||||
}
|
||||
|
||||
function deploy_snapshotter() {
|
||||
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then
|
||||
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
||||
return
|
||||
fi
|
||||
|
||||
echo "::group::Deploying ${SNAPSHOTTER}"
|
||||
case ${SNAPSHOTTER} in
|
||||
nydus) deploy_nydus_snapshotter ;;
|
||||
@ -424,6 +429,11 @@ function deploy_snapshotter() {
|
||||
}
|
||||
|
||||
function cleanup_snapshotter() {
|
||||
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then
|
||||
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
||||
return
|
||||
fi
|
||||
|
||||
echo "::group::Cleanuping ${SNAPSHOTTER}"
|
||||
case ${SNAPSHOTTER} in
|
||||
nydus) cleanup_nydus_snapshotter ;;
|
||||
|
Loading…
Reference in New Issue
Block a user