-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce the e2e test setup for OVA providers.
Signed-off-by: Bella Khizgiyaev <[email protected]>
- Loading branch information
Showing
5 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
export NFS_IP_ADDRESS=$(ip route get 8.8.8.8 | awk '{ print $7 }' | head -1) | ||
export NFS_SHARE="/home/nfsshare" | ||
|
||
ova_file_url="https://github.com/kubev2v/forkliftci/releases/download/v8.0/vm.ova" | ||
|
||
# Download the file and check if the copy was successful | ||
echo "The VM ova file download started." | ||
wget -P "$NFS_SHARE" "$ova_file_url" | ||
if [ $? -eq 0 ]; then | ||
echo "OVA file copied successfully to NFS share." | ||
else | ||
echo "Error: OVA file copy failed." | ||
fi | ||
|
||
# deploy csi-driver-nfs | ||
cluster/providers/utils/deploy_csi_driver_nfs.sh "${NFS_IP_ADDRESS}" "${NFS_SHARE}" |
File renamed without changes.