Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions scripts/pre-pull-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,15 @@
#
# SPDX-License-Identifier: CC0-1.0

KV_VERSION=v1.7.0
# Pre-pull images that are used by integration tests to speed up test execution.

IMAGES=(
"quay.io/kubevirt/virt-launcher:${KV_VERSION}"
"quay.io/kubevirt/virt-handler:${KV_VERSION}"
"quay.io/kubevirt/virt-api:${KV_VERSION}"
"quay.io/kubevirt/virt-controller:${KV_VERSION}"
"quay.io/kubevirt/virt-operator:${KV_VERSION}"
"$TRUSTEE_IMAGE"
"quay.io/trusted-execution-clusters/fedora-coreos-kubevirt:2026-14-01"
"$APPROVED_IMAGE"
)

for IMAGE in "${IMAGES[@]}"; do
echo "Pulling: $IMAGE"
docker pull "$IMAGE"
if [ $? -eq 0 ]; then
echo "Successfully pulled $IMAGE"
else
echo "Error: Failed to pull $IMAGE"
fi
kind load docker-image $IMAGE
docker pull "$IMAGE" && kind load docker-image "$IMAGE" || echo "Error: Failed to pull $IMAGE"
echo "-------------------------------"
done
2 changes: 1 addition & 1 deletion tests/attestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl SingleAttestationContext {
.await?;

test_ctx.info(format!("Waiting for VM {} to reach Running state", vm_name));
virt::wait_for_vm_running(client, namespace, vm_name, 300).await?;
virt::wait_for_vm_running(client, namespace, vm_name, 900).await?;
test_ctx.info(format!("VM {} is Running", vm_name));

test_ctx.info(format!("Waiting for SSH access to VM {}", vm_name));
Expand Down