-
Notifications
You must be signed in to change notification settings - Fork 50
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
First commit to bring aws-sdk-ruby tests in mint. #60
Conversation
730aff8
to
c2593c2
Compare
build/ruby/install.sh
Outdated
apt-get update && \ | ||
apt-get install -y ruby ruby-dev ruby-bundler && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove extra lines
build/ruby/install.sh
Outdated
} | ||
|
||
main() { | ||
# Start with installing python3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update comment
access_key_id = ENV['ACCESS_KEY'] ||= 'ACESS_KEY is not set' | ||
secret_access_key = ENV['SECRET_KEY'] ||= 'SECRET_KEY is not set' | ||
data_dir = ENV['DATA_DIR'] ||= 'DATA_DIR is not set' | ||
enable_https = ENV['ENABLE_HTTPS'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't all credentials default to play.minio.io if not set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if its not set for some reason, this string would help in easy debugging.
endpoint = 'http://' + endpoint | ||
end | ||
|
||
puts endpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
build/ruby/aws-ruby.sh
Outdated
ruby --version | ||
} | ||
|
||
# Install PY dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PY -> ruby
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
end | ||
rescue | ||
puts "Bucket Delete Test Fails" | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation seems to be off on this file. Is begin/end blocks better vs methods? If you were to add more checks for boundary conditions for each API, this would read better if each test is in its own method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b5989c5
to
521f5f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.