From 3edc209dcb0748837f00eaa0615dce7ee52a739e Mon Sep 17 00:00:00 2001 From: Rakshitha Kamath Date: Thu, 16 Nov 2023 12:17:14 +0530 Subject: [PATCH] Fix download_storage_scale.sh --- .../storage-scale/download_storage_scale.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build_scripts/storage-scale/download_storage_scale.sh b/build_scripts/storage-scale/download_storage_scale.sh index c4ff2608..6324923c 100644 --- a/build_scripts/storage-scale/download_storage_scale.sh +++ b/build_scripts/storage-scale/download_storage_scale.sh @@ -1,10 +1,14 @@ -WORKING_DIR="~/WORKSPACE/DOWNLOAD_STORAGE_SCALE" -mkdir -p ~/WORKSPACE/DOWNLOAD_STORAGE_SCALE +WORKING_DIR="~/DOWNLOAD_STORAGE_SCALE" +mkdir -p $WORKING_DIR +ls -ltr ~ cd $WORKING_DIR +echo $pwd yum install -y unzip curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" -unzip -qq awscliv2.zip -sudo ./aws/install +ls -ltr +unzip awscliv2.zip +chmod +x ./aws/* +./aws/install aws configure set aws_access_key_id ${AWS_ACCESS_KEY} aws configure set aws_secret_access_key ${AWS_SECRET_KEY} aws s3api get-object --bucket nfsganesha-ci --key "Storage_Scale_Developer-5.1.8.0-x86_64-Linux.zip" "Storage_Scale_Developer-5.1.8.0-x86_64-Linux.zip"