Skip to content

Commit

Permalink
Fix download_storage_scale.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshithakamath94 committed Nov 16, 2023
1 parent e511ac6 commit 221d565
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build_scripts/storage-scale/download_storage_scale.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
WORKING_DIR="~/WORKSPACE/DOWNLOAD_STORAGE_SCALE"
mkdir -p ~/WORKSPACE/DOWNLOAD_STORAGE_SCALE
WORKING_DIR="~/DOWNLOAD_STORAGE_SCALE"
mkdir -p $WORKING_DIR
cd $WORKING_DIR
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
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"
Expand Down

0 comments on commit 221d565

Please sign in to comment.