-
Notifications
You must be signed in to change notification settings - Fork 752
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 endpoint url param for s3 dal #2555
Conversation
Thanks for the contribution! Please review the labels and make any necessary changes. |
c41adb0
to
4d4a323
Compare
Codecov Report
@@ Coverage Diff @@
## main #2555 +/- ##
=====================================
- Coverage 72% 72% -1%
=====================================
Files 646 644 -2
Lines 36383 36378 -5
=====================================
- Hits 26310 26299 -11
- Misses 10073 10079 +6
Continue to review full report at Codecov.
|
daf408f
to
2f72b48
Compare
- add endpoint_url config - using custom region if endpoint_url is enabled - add minio to CI - use minio in statless-standalone-test(ubuntu-latest) - minor code gc
2f72b48
to
0fd58fe
Compare
Cool~ |
Got it, the github stateless test sets the s3 as the default storage :) |
LGTM, although stateless-test doesn't necessarily require s3 , it can help us verify that it works. Perhaps we also need to provide such support for azure blob or other later? |
Does it mean we mac users can only test s3 backend in a CI? |
yes, I think we need them |
for "auto" tests, unfortunately, yes. we can improve this eventually I think. but by exporting the env vars before
we can test s3 backend locally (but manually setup) |
What about adding these config to a script like |
good idea! like |
/lgtm |
Approved! Thank you for the PR @dantengsky |
CI Passed |
I hereby agree to the terms of the CLA available at: https://databend.rs/policies/cla/
Summary
endpoint_url
toS3StorageConfig
endpoint_url
is enabledminio
in statless-standalone-test(ubuntu-latest only)@ZhiHanZ thanks for the github action code snippets , it works really well! but
macos-latest
, no docker there. thus minio is enabled only forubuntu-latest
. if there are better solutions, please let me know.workflows/stateless-tests-standalone.yml
has been tweaked to enable minio. there are three extra steps doing nothing inmacos-latest
... not as elegant as before. is there a better way to do this? or shall we improve it later?@drmingdrmer thanks for suggesting using moto as the mock service, but @wubx kindly reminds me that there might be real cases of using minio later, and mocking is only used in integration tests in this PR, thus minio is taken.
part of
ontime
test suite insert and select with fuse table engine #2561Changelog
Related Issues
part of issue #1780 #2561
Test Plan
Unit Tests
Stateless Tests