Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the script for downloading the dummy file from s3 bucket of storage_scale #82

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions build_scripts/storage-scale/download_storage_scale.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
WORKING_DIR="~/WORKSPACE/DOWNLOAD_STORAGE_SCALE"
mkdir -p ~/WORKSPACE/DOWNLOAD_STORAGE_SCALE
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
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"
ls -ltr ${WORKING_DIR}
cat Storage_Scale_Developer-5.1.8.0-x86_64-Linux.zip