Skip to content

Commit

Permalink
fix: use spec.storage in DV in e2e tests
Browse files Browse the repository at this point in the history
Switch to spec.storage in e2e tests DVs.
This should fix the 500 error we are experiencing during
clone of the VM disk.
Signed-off-by: Karel Simon <ksimon@redhat.com>
  • Loading branch information
ksimon1 committed Sep 12, 2024
1 parent d9e49da commit 8441def
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion automation/test-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
registry:
url: "${image_url}"
${secret_ref}
pvc:
storage:
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion automation/test-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
registry:
secretRef: common-templates-container-disk-puller
url: "docker://quay.io/openshift-cnv/ci-common-templates-images:${TARGET}"
pvc:
storage:
accessModes:
- ReadWriteOnce
resources:
Expand Down
3 changes: 2 additions & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ fi
export KUBEVIRT_VERSION=$(latest_version "kubevirt")

# Latest released CDI version
export CDI_VERSION=$(latest_version "containerized-data-importer")
# revert hardcoded value when the error is solved
export CDI_VERSION="v1.59.1" #$(latest_version "containerized-data-importer")

# switch to faster storage class for widows tests (slower storage class is causing timeouts due
# to not able to copy whole windows disk into cluster)
Expand Down

0 comments on commit 8441def

Please sign in to comment.