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

🐛 Remove quotes around "/data" in MINIO_VOLUMES var #5351

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

wvangeit
Copy link
Contributor

Leaving quotes around this path, makes docker compose translate this into '"/data"', which generates a path with quotes in it, and makes minio store data in its container instead of the minio volume

What do these changes do?

Remove the quotes around "/data" in docker compose

How to test

(at least for Docker Compose version v2.24.5)
Enable minio in a local deployment. Run:
make up-prod
Put some data in the minio store, but for example uploading some file to a local osparc study. Run:
make down; make leave; make down;
Next time when run make up-prod, the data in Minio is gone.

One can also attach to the minio container with portainer, and verify the location of the data. After the fix it should be in /data, before the fix the data will be in a directory called '"' in the /

Dev Checklist

DevOps Checklist

Leaving quotes around this path, makes docker compose translate this
into '"/data"', which generates a path with quotes in it, and
makes minio store data in its container instead of the minio volume
@wvangeit wvangeit added bug buggy, it does not work as expected a:storage issue related to storage service labels Feb 20, 2024
@wvangeit wvangeit added this to the Schoggilebe milestone Feb 20, 2024
@wvangeit wvangeit self-assigned this Feb 20, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b11a63d) 87.5% compared to head (070e793) 87.4%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #5351     +/-   ##
========================================
- Coverage    87.5%   87.4%   -0.1%     
========================================
  Files        1096    1313    +217     
  Lines       46981   54034   +7053     
  Branches      632    1172    +540     
========================================
+ Hits        41132   47258   +6126     
- Misses       5718    6526    +808     
- Partials      131     250    +119     
Flag Coverage Δ
integrationtests 65.0% <ø> (+<0.1%) ⬆️
unittests 85.3% <ø> (+0.2%) ⬆️

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

see 222 files with indirect coverage changes

@wvangeit
Copy link
Contributor Author

For future reference: docker/compose#2854

@wvangeit wvangeit enabled auto-merge (squash) February 20, 2024 19:05
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

thanks!

Copy link
Contributor

@YuryHrytsuk YuryHrytsuk left a comment

Choose a reason for hiding this comment

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

Thank you!

@wvangeit wvangeit merged commit 51b9d42 into ITISFoundation:master Feb 21, 2024
54 checks passed
@wvangeit wvangeit deleted the remove_minio_data_quotes branch February 21, 2024 07:53
jsaq007 pushed a commit to jsaq007/osparc-simcore that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:storage issue related to storage service bug buggy, it does not work as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants