-
Notifications
You must be signed in to change notification settings - Fork 549
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
[OCI]: Storage: support buckets from different region #4554
Conversation
Hi @cblmemo Added this enhancement for the OCI storage support. Could you please help review it? Thanks~ |
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 adding this @HysunHe ! Left some discussions :))
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 @HysunHe ! Mostly LGTM. Left 2 nits
Co-authored-by: Tian Xia <[email protected]>
Thanks @HysunHe ! LGTM. |
This is an enhancement of OCI cloud storage support.
Before this change, the region the bucket belongs to is restricted to be same as the region in the OCI config file. This becomes the default setting if no region specified with this enhancement.
With this change, we can specify the region with the bucket name in the source or name attribute.
oci://<bucket_name> --> oci://<bucket_name>@
sky launch -c teststore ./examples/oci/dataset-upload-and-mount.yaml
sky launch -c teststore ./examples/oci/dataset-mount.yaml
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh