-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e511ac6
commit e765f4f
Showing
1 changed file
with
11 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
WORKING_DIR="~/WORKSPACE/DOWNLOAD_STORAGE_SCALE" | ||
mkdir -p ~/WORKSPACE/DOWNLOAD_STORAGE_SCALE | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
WORKING_DIR="DOWNLOAD_STORAGE_SCALE" | ||
mkdir -p $WORKING_DIR | ||
cd $WORKING_DIR | ||
echo $PWD | ||
yum install -y unzip | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
ls -ltr | ||
unzip -qq awscliv2.zip | ||
sudo ./aws/install | ||
chmod +x ./aws/* | ||
./aws/install | ||
aws --version | ||
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 |