Skip to content

Commit

Permalink
fix: hardcode cdi version to v1.56.0
Browse files Browse the repository at this point in the history
newest cdi contains bug which is causing problems
for our tests. kubevirt/containerized-data-importer#2836

Signed-off-by: Karel Simon <ksimon@redhat.com>
  • Loading branch information
ksimon1 committed Aug 9, 2023
1 parent fc9e0d3 commit ad8c933
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ function latest_version() {
export KUBEVIRT_VERSION=$(latest_version "kubevirt")

# Latest released CDI version
export CDI_VERSION=$(latest_version "containerized-data-importer")
#export CDI_VERSION=$(latest_version "containerized-data-importer")

export CDI_VERSION="v1.56.0"
# 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)
if [[ ! "$(oc get storageclass | grep -q 'ssd-csi (default)')" ]] && [[ $TARGET =~ windows.* ]]; then
if [[ ! "$(oc get storageclass | grep -q 'ssd-csi (default)')" ]]&& [[ $TARGET =~ windows.* ]]; then
oc annotate storageclass ssd-csi storageclass.kubernetes.io/is-default-class=true --overwrite
oc annotate storageclass standard-csi storageclass.kubernetes.io/is-default-class- --overwrite
fi
Expand Down

0 comments on commit ad8c933

Please sign in to comment.