-
Notifications
You must be signed in to change notification settings - Fork 422
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
feat: Add possibility to configure a subfolder inside an S3 bucket #2647
Conversation
Thanks for the PR @gbouv ! This is a great start, but I believe it's a bit more complicated than this:
And then obviously we need to make sure that previous announcements without a folder continue to work, might be a good test case for y'all |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #2647 +/- ##
=======================================
Coverage 64.50% 64.50%
=======================================
Files 91 91
Lines 1386 1386
Branches 185 185
=======================================
Hits 894 894
Misses 485 485
Partials 7 7 ☔ View full report in Codecov by Sentry. |
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.
Actually nvm, i misinterpreted the code. I do think folder makes more sense as an option, but pending @tkporter or @mattiecnvr 's approval, lgtm
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.
Thanks for the PR, agree this is useful! I think it'd be nice to move to folder: Option<String>
BTW @nambrot I tested this with Kurtosis and it seems to work for both cases where |
@tkporter in my last commit I make |
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, thank you!
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Hi, I just saw this during a merge conflict. I have added this change to the schema in #2687 but this should not have been approved and represents an almost immediate divergence from the defined schema and parser support. |
…2647) ### Description This change adds the possibility to configure a subfolder inside an S3 bucket, to avoid having to spin up an entire bucket for hyperlane. ### Drive-by changes Nothing ### Related issues None, chatted about it on Slack with @nambrot ### Backward compatibility Yes I made the field optional in the `RawCheckpointSyncerConf` so that current config are still valid and will continue to read/write at the root of the bucket. That being said, I'm new to this code so I hope I got it right ### Testing None --------- Co-authored-by: Nam Chu Hoai <[email protected]> (cherry picked from commit 478826b)
Description
This change adds the possibility to configure a subfolder inside an S3 bucket, to avoid having to spin up an entire bucket for hyperlane.
Drive-by changes
Nothing
Related issues
None, chatted about it on Slack with @nambrot
Backward compatibility
Yes
I made the field optional in the
RawCheckpointSyncerConf
so that current config are still valid and will continue to read/write at the root of the bucket. That being said, I'm new to this code so I hope I got it rightTesting
None