-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make addon official #38
Comments
Thanks for your work on this. Just a casual look around... it doesn't seem like the tests run on several different situations. For example, the most recent commit didn't run tests, https://github.com/oblakstudio/ddev-minio/commits/master/ - Why is that? (I'm glad to see the daily tests will run now, but they haven't run automatically yet...) Are you now subscribed to get notifications of test failures? |
Not sure if there's configuration I'm missing, but my project doesn't start: DDEV: Test
$ ddev start
...
Project can be reached at https://30days-l11-demo.ddev.site https://127.0.0.1:52787
$ ddev get oblakstudio/ddev-minio
...
Installed minio:v2.0.2 from oblakstudio/ddev-minio
$ ddev restart
......Project images built in 6s.
Network ddev-30days-l11-demo_default Created
Volume "ddev-30days-l11-demo-minio" Created
Error response from daemon: Range of CPUs is from 0.01 to 2.00, as there are only 2 CPUs available |
/cc @stasadev - I guess the 2.5 doesn't work for everybody. |
@tyler36 you can probably fix this just by changing your docker cpu reservation to something higher than the default 2 I guess? I bet your machine has plenty of threads available. |
Running MinIO without any limits can cause it to takeover the entire CPU because it's both CPU and memory hungry. Capping it to below 2 CPUs will make it unusable. I'm assuming that anyone who uses docker has more than 2 CPU cores at their disposal. |
I'm using Docker Desktop and running DDEV in WSL2 currently. I have
I guess I can play around with that later. |
I will review this add-on next week.
I checked and |
The add-on looks solid, and I agree with making it official. @seebeen, I see What do you think about adding something like this to make things easier for beginners? <?php
require __DIR__ . '/vendor/autoload.php';
$s3 = new \Aws\S3\S3Client([
'endpoint' => 'http://minio:10101',
'credentials' => [
'key' => 'ddevminio',
'secret' => 'ddevminio',
],
'region' => 'us-east-1',
'version' => 'latest',
'use_path_style_endpoint' => true,
]);
$bucketName = 'ddev-minio';
if (!$s3->doesBucketExist($bucketName)) {
$s3->createBucket([
'Bucket' => $bucketName,
]);
}
$s3->putObject([
'Bucket' => $bucketName,
'Key' => 'ddev-test',
'Body' => 'DDEV Minio is working!',
]);
$object = $s3->getObject([
'Bucket' => $bucketName,
'Key' => 'ddev-test',
]);
echo $object['Body']; |
These should be |
Thanks! @seebeen please make those fixes and let's move this to the ddev org. Or if you prefer, we can move it first, and then you can make those changes. |
Added you both to the repo. Let's do this and I'll cleanup and improve immediately :) |
Done, sent invitation for @seebeen. |
@seebeen, a reminder that we need a new release 🙂 |
🎉 This issue has been resolved in version 2.0.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Yay! |
Hello @rfay.
Can we make this addon official? All kinks and bugs ironed out.
The text was updated successfully, but these errors were encountered: