-
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
Add aws-sdk-php tests to mint #48
Conversation
eca65b9
to
9cf0110
Compare
run/core/aws-sdk-php/quick-tests.php
Outdated
|
||
class ClientConfig { | ||
public $creds; | ||
public $endpoint = "https://play.minio.io:9000"; |
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.
Endpoint always play server?
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.
No, we are setting play
as default endpoint. Now that I have a constructor taking $host
as a parameter, I can remove this initialization.
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.
I see..
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.
Removed assigning default value to $endpoint
.
run/core/aws-sdk-php/run.sh
Outdated
@@ -0,0 +1,34 @@ | |||
#!/usr/bin/env bash | |||
#!/usr/bin/expect -f |
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.
this line 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
run/core/aws-sdk-php/run.sh
Outdated
#!/usr/bin/env bash | ||
#!/usr/bin/expect -f | ||
# | ||
# Minio Cloud Storage, (C) 2017 Minio, Inc. |
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.
s/Minio/Mint/
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/php/aws-sdk-php.sh
Outdated
} | ||
|
||
# Install PHP dependencies | ||
installAwsSdkPhpDeps() { |
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.
it would be good to rename this function as installDeps for consistency. The script name makes it clear it is for aws-sdk-php
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
4f72e41
to
5c91576
Compare
@poornas can you pls check again? Looks like comments we addressed |
@krisis I would suggest to create random bucket name during |
Partially addresses requirements in #38.