-
-
Notifications
You must be signed in to change notification settings - Fork 57
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 support for S3 Bucket URL #118
Comments
Can you share parts of the file system between host and minio? If so you can just use
Also does the config for minio require this endpoint to be in |
Thanks for getting back to me so quickly! I'd already considered local/shared storage via smb/nfs. We've got about ~40 developers using Carthage. S3/Minio fits our needs a lot better as then we don't need to set up client shares on those 40 machines all over the world, we can just distribute S3 key/secrets per team. |
What does it mean that minio is compatible with S3? The project uses a haskell equivalent of the amanzon SDK, thus it expects a region to operate. |
You seem to be in luck anyways https://hackage.haskell.org/package/minio-hs |
@astromoose please try pre-release https://github.com/blender/Rome/releases/tag/v0.15.0.40 If it works as you expect, I will merge and make a full release. Can I have the pleasure of knowing what company this is for and add it to the list of companies using Rome (if you end up doing so)? Doesn't seem like a business sensitive information to me. You know... I just worked for free for your employer :) |
Awesome, thanks! I’ll get Rome integrated in our CI today. I work for Daimler TSS. When we’re saving time on builds you’re more than welcome to mention us on the list! I’ll let you know :) |
Cool, @astromoose follow the instructions here: https://github.com/blender/Rome/tree/feature/minio#setting-up-endpoint-override-for-minio |
Hoi hoi, looking very good but not quite there.
I'll check these errors aren't related to minio running in a docker container though, those connection resets look weird. |
I have tried with the public instance at https://play.minio.io:9000 and both upload and download work. You have to create the bucked in minio first. |
((OT: I love the release names, tell me you have some kind of random 'Consul of Rome' generator or something? :D)) |
It's less hi tech than that, I just follow the list at https://en.wikipedia.org/wiki/List_of_Roman_consuls The errors above seem to me like Minio issues. It is trying to get attributes of some paths but it failing to do so:
Maybe Minio cannot write to the file system? |
@astromoose did you have any chance to check your Minio setup? |
Hoi @blender - still working on it. I'm seeing problems with calculated sha256's on file uploads, which deffo looks like minio issues. Will keep you posted :) 👍 |
@astromoose please do. |
@astromoose Any luck? I am thinking of merging this anyways (others features still work) and then make a new release. |
@blender Is that possible to fetch the |
@thii it should be already supported |
We're also using an S3 compatible object storage (not Minio). I've just tested with Rome 0.15.40 but it is still looking for the config file.
|
By the way, when I added the config file, it still couldn't download from our remote cache.
We are currently using Rome for the local cache only and use |
@thii Sorry Could you tell me what S3 compatible cache you're using so that I can add it to the docs once this works? |
@thii so turns out I'll add both |
@thii a pre-release that supports both env variables is available here https://github.com/blender/Rome/releases/tag/v0.15.0.41 Please let me know if this works and I will make a full release. |
@blender Looks like it does pull the config values from the env vars instead of the config file, but it still returns an |
@thii can you paste the output of this command
|
I know this doesn't give you much info, but here it is.
There might be something different in our cache storage. |
@thii this seems to be a communication problem with your store. Have you tried with the |
@thii there was some error prettifying, I remove it so you can get the error messages are they are. See https://github.com/blender/Rome/releases/tag/v0.15.0.42 |
@blender It works now, after I explicitly specified the port to 443. Seems it fallbacks to port 9000 if not being specified, even though the endpoint starts with |
That is was i was doing but clearly it's not working :) I'll fix that |
@thii Can you please try this? https://github.com/blender/Rome/releases/tag/v0.15.0.43 should fix the default port for I'll promote this to a full release and merge if it works. |
@blender It works! Thanks. Please release. |
We're done 🎉
|
Enhancement Suggestion
Afternoon,
I'd love to use Rome but can't use S3 for big-silly-company reasons. I can, however set up a Minio (https://docs.minio.io/) instance locally which is basically an S3 compatible object store that runs within a docker container.
Getting rome to work with Minio would mean supporting an s3 url in
.aws/config
rather than a region. Something like:Why would the enhancement be useful to most users
Supporting s3-compatible endpoints would open up other similar object storage systems and services. I know s3 can be super cheap, but some companies (esp. european ones) can't use AWS for compliance reasons.
The text was updated successfully, but these errors were encountered: