Skip to content
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

Fix host used in minio URLs #1487

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Fix host used in minio URLs #1487

merged 2 commits into from
Aug 15, 2024

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Aug 14, 2024

Using localhost was causing test failures for me locally when fsspec was involved, likely due to localhost also resolving to ::1, which the minio port was not exposed on.

@jwodder jwodder added the tests Add or improve existing tests label Aug 14, 2024
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.62%. Comparing base (37b6350) to head (85f6dd8).
Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1487      +/-   ##
==========================================
+ Coverage   88.54%   88.62%   +0.07%     
==========================================
  Files          77       77              
  Lines       10565    10565              
==========================================
+ Hits         9355     9363       +8     
+ Misses       1210     1202       -8     
Flag Coverage Δ
unittests 88.62% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -29,7 +29,7 @@ services:
DJANGO_MINIO_STORAGE_ENDPOINT: minio:9000
DJANGO_MINIO_STORAGE_SECRET_KEY: minioSecretKey
DJANGO_STORAGE_BUCKET_NAME: django-storage
DJANGO_MINIO_STORAGE_MEDIA_URL: http://localhost:9000/django-storage
DJANGO_MINIO_STORAGE_MEDIA_URL: http://127.0.0.1:9000/django-storage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is odd that it would need it for MINIO but nothing else... but ok, if that resolves it for you I do not mind, but please add a brief comment above on why it is needed. ATM not even commit message provides an explanation -- would be hard to figure out why it was needed and thus might get reverted etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment added: 85f6dd8

@yarikoptic yarikoptic merged commit 649d89d into master Aug 15, 2024
26 of 28 checks passed
@yarikoptic yarikoptic deleted the fix-docker-host branch August 15, 2024 13:28
Copy link

github-actions bot commented Sep 9, 2024

🚀 PR was released in 0.63.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released tests Add or improve existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants